]> git.pld-linux.org Git - packages/issue-logo.git/blame - issue-logo.spec
- fixed version, only use /etc/os-release for generating issue file
[packages/issue-logo.git] / issue-logo.spec
CommitLineData
33fc38e2 1%define distversion %(. /etc/os-release 2>/dev/null ; echo $VERSION)
5739a34b 2
f51aeba3
JR
3Summary: PLD Linux prelogin message and identification file with logo
4Summary(de.UTF-8): PLD Linux Systemidentifikationsdatei mit logo
5Summary(pl.UTF-8): Plik z logiem identyfikujący system PLD Linux, wyświetlany przed zalogowaniem
d646899a 6Name: issue-logo
33fc38e2 7Version: 3.0
f51aeba3 8Release: 2
dcb46893 9License: GPL
d646899a 10Group: Base
f51aeba3
JR
11BuildRequires: pld-release >= 3.0
12%requires_eq pld-release
f6d7a6ca 13Provides: issue
23d2186d
JR
14Conflicts: issue-alpha < 3.0-1
15Conflicts: issue-fancy < 3.0-1
16Conflicts: issue-nice < 3.0-1
17Conflicts: issue-pure < 3.0-1
1ac8de8d
JB
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
dc523f31 20
21%description
f51aeba3 22PLD Linux prelogin message and identification file with logo.
dc523f31 23
b8fa68b8 24%description -l de.UTF-8
f51aeba3 25PLD Linux Systemidentifikationsdatei mit logo.
dc523f31 26
b8fa68b8 27%description -l pl.UTF-8
f51aeba3
JR
28Plik z logiem identyfikujący system PLD Linux,
29wyświetlany przed zalogowaniem.
dc523f31 30
1ac8de8d
JB
31%prep
32
dc523f31 33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_sysconfdir}
36
37cat > $RPM_BUILD_ROOT%{_sysconfdir}/issue <<EOF
6feb4f08 38 _
33fc38e2 39 / ) PLD Linux %{distversion} \m, \r
dc523f31 40/ / Welcome to \n
41 ( -. \u user(s)
1ac8de8d
JB
42 \\\\ \\\\
43 \\\\ \\\\\\\\
44 \\\`| \\\\\\\\
45 | \\\`
6feb4f08 46 |
dc523f31 47
48EOF
5c47aa10 49
dc523f31 50echo -ne "\l " >> $RPM_BUILD_ROOT%{_sysconfdir}/issue
51
52cat > $RPM_BUILD_ROOT%{_sysconfdir}/issue.net <<EOF
6feb4f08 53 _
33fc38e2 54 / ) PLD Linux %{distversion} %m, %r
dc523f31 55/ / Welcome to %h
6feb4f08 56 ( -.
1ac8de8d
JB
57 \\\\ \\\\
58 \\\\ \\\\\\\\
59 \\\`| \\\\\\\\
60 | \\\`
6feb4f08
TP
61 |
62
dc523f31 63EOF
5c47aa10 64
dc523f31 65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
dc523f31 70%config(noreplace) %{_sysconfdir}/issue*
This page took 0.053355 seconds and 4 git commands to generate.