1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 # Make the configuration of your distribution right here.
10 DISTRO_VERSION = %{DISTRO_RELEASE}.0-alpha2
11 DISTRO_CODENAME = Gluttony
12 DISTRO_SLOGAN = An Open Source Firewall Solution
15 name = %{DISTRO_SNAME}-release
16 version = %{DISTRO_VERSION}
21 maintainer = Michael Tremer <michael.tremer@ipfire.org>
22 groups = Base Build System/Base
23 url = http://www.ipfire.org
25 summary = %{DISTRO_NAME} release files.
28 %{DISTRO_NAME} release files such as pakfire configs and various /etc/ \
29 files that define the release.
36 prepare = # Do nothing
40 mkdir -pv %{BUILDROOT}/etc
42 cat <<EOF >%{BUILDROOT}/etc/issue
43 %{DISTRO_NAME} %{DISTRO_VERSION} (%{DISTRO_CODENAME}) - %{DISTRO_SLOGAN} (\l)
44 ===============================
48 echo "%{DISTRO_NAME} release %{DISTRO_VERSION} (%{DISTRO_CODENAME})" \
49 > %{BUILDROOT}/etc/%{DISTRO_SNAME}-release
50 ln -svf %{DISTRO_SNAME}-release %{BUILDROOT}/etc/system-release
52 # Set a default hostname that is set until the user customizes that.
53 echo "%{DISTRO_SNAME}.localdomain" > %{BUILDROOT}/etc/hostname
55 # Create /etc/os-release.
56 cat <<EOF >%{BUILDROOT}/etc/os-release
58 VERSION="%{DISTRO_VERSION}"
60 VERSION_ID=%{DISTRO_RELEASE}
61 PRETTY_NAME="%{DISTRO_NAME} %{DISTRO_VERSION} (%{DISTRO_CODENAME})"
62 ANSI_COLOR="%{DISTRO_COLOR}"
65 # Install default repositories.
66 mkdir -pv %{BUILDROOT}%{sysconfdir}/pakfire/repos
67 cp -vf %{DIR_SOURCE}/repos/* %{BUILDROOT}%{sysconfdir}/pakfire/repos
73 provides = system-release