From 82a47389fc99244cfe7d8cb0f6a00c01534f16ce Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 11 Sep 2011 00:18:30 +0200 Subject: [PATCH 1/1] - copied from Titanium branch at PLD CVS --- issue.spec | 319 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 issue.spec diff --git a/issue.spec b/issue.spec new file mode 100644 index 0000000..d12ebbc --- /dev/null +++ b/issue.spec @@ -0,0 +1,319 @@ +# $Revision: 1.50.2.5 $, $Date: 2010/08/30 09:12:25 $ + +%define distversion 2010.01 + +Summary: PLD Linux release file +Summary(cs.UTF-8): Soubor s číslem verze systému PLD Linux +Summary(da.UTF-8): PLD Linux release fil +Summary(de.UTF-8): PLD Linux Release-Datei +Summary(es.UTF-8): El fichero con la versión de PLD Linux +Summary(fr.UTF-8): Fichier de version de PLD Linux +Summary(id.UTF-8): File rilis PLD Linux +Summary(is.UTF-8): Útgáfuskráin fyrir PLD Linux +Summary(it.UTF-8): File della release di PLD Linux +Summary(ja.UTF-8): PLD Linux リリースファイル +Summary(ko.UTF-8): PLD Linux 배포 파일 +Summary(nb.UTF-8): PLD Linux release fil +Summary(pl.UTF-8): Wersja Linuksa PLD +Summary(pt.UTF-8): O ficheiro de versão final do PLD Linux +Summary(ru.UTF-8): Файл релиза PLD Linux +Summary(sk.UTF-8): Súbor označujúci verziu PLD Linux +Summary(sl.UTF-8): Datoteka s podatki o izdaji PLD Linuxa +Summary(sv.UTF-8): PLD Linux versionsfil +Summary(tr.UTF-8): PLD Linux sürüm dosyası +Summary(zh_CN.UTF-8): PLD Linux 版本文件。 +Name: issue +Version: %{distversion} +Release: 4 +License: GPL +Group: Base +Provides: issue-package +Obsoletes: issue-alpha +Obsoletes: issue-fancy +Obsoletes: issue-logo +Obsoletes: issue-package +Obsoletes: issue-pure +Obsoletes: mandrake-release +Obsoletes: redhat-release +Conflicts: issue-alpha < 2.99-2 +Conflicts: issue-fancy < 2.99-2 +Conflicts: issue-logo < 2.99-2 +Conflicts: issue-pure < 2.99-5 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +PLD Linux release file. + +%description -l cs.UTF-8 +Soubor s číslem verze systému PLD Linux. + +%description -l da.UTF-8 +PLD Linux release fil. + +%description -l de.UTF-8 +PLD Linux Release-Datei. + +%description -l es.UTF-8 +El fichero con la versión de PLD Linux. + +%description -l fr.UTF-8 +Fichier de version de PLD Linux. + +%description -l id.UTF-8 +File rilis PLD Linux. + +%description -l is.UTF-8 +Útgáfuskráin fyrir PLD Linux. + +%description -l it.UTF-8 +File della release di PLD Linux. + +%description -l ja.UTF-8 +PLD Linux リリースファイル + +%description -l ko.UTF-8 +PLD Linux 배포 파일. + +%description -l nb.UTF-8 +PLD Linux release fil. + +%description -l pl.UTF-8 +Wersja Linuksa PLD. + +%description -l pt.UTF-8 +O ficheiro de versão final do PLD Linux. + +%description -l ru.UTF-8 +Файл релиза PLD Linux. + +%description -l sk.UTF-8 +Súbor označujúci verziu PLD Linux. + +%description -l sl.UTF-8 +Datoteka s podatki o izdaji PLD Linuxa. + +%description -l sv.UTF-8 +PLD Linux versionsfil. + +%description -l tr.UTF-8 +PLD Linux sürüm dosyası. + +%description -l zh_CN.UTF-8 +PLD Linux 版本文件。 + +%prep + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sysconfdir} + +cat > $RPM_BUILD_ROOT%{_sysconfdir}/issue <---------------------* +:|: +:|: Welcome to \n +:|: \d \t +:|: + \`---{ \U }---[ \r ]---( \m )------* + + +EOF +echo -ne "\l " >> $RPM_BUILD_ROOT%{_sysconfdir}/issue + +cat > $RPM_BUILD_ROOT%{_sysconfdir}/issue.net <---------------------* +:|: +:|: Welcome to %h +:|: %d +:|: + \`-----------[ %r ]--( %m )------* + +EOF + +echo "PLD Linux Titanium (Ti) %{distversion}" > $RPM_BUILD_ROOT%{_sysconfdir}/pld-release + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_sysconfdir}/pld-release +%config(noreplace) %{_sysconfdir}/issue* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team +All persons listed below can be reached at @pld-linux.org + +$Log: issue.spec,v $ +Revision 1.50.2.5 2010/08/30 09:12:25 hawk +- cosmetics + +Revision 1.50.2.4 2010/08/14 16:53:44 hawk +- fix + +Revision 1.50.2.3 2010/08/14 16:29:20 hawk +- use Ti as official shortcut of release name + +Revision 1.50.2.2 2010/08/14 14:44:13 hawk +- Titanium now have version: . + +Revision 1.50.2.1 2007/11/09 23:12:31 hawk +- issue for PLD Titanium + +Revision 1.50 2007/08/08 11:51:20 patrys +- add conflicts where affected +- add P/O issue-package +- rel up + +Revision 1.49 2007/08/05 20:42:13 wolvverine +-rel.2 + +Revision 1.48 2007/02/13 08:06:35 glen +- tabs in preamble + +Revision 1.47 2007/02/12 00:48:57 baggins +- converted to UTF-8 + +Revision 1.46 2006/04/25 10:39:43 adamg +- 2.99 (Th) + +Revision 1.45 2006/01/22 13:52:33 arekm +- update for AC 2.0 + +Revision 1.44 2004/07/29 14:22:33 qboosh +- release 2 + +Revision 1.43 2004/07/29 14:22:05 qboosh +- removed \ec from issue (needed for mingetty --noclear to work) + +Revision 1.42 2004/07/29 14:20:35 qboosh +- added empty prep for ./builder + +Revision 1.41 2004/02/16 17:27:48 qboosh +- next part of locale names update for glibc 2.3.3: s/no/nb/ in rpm headers + +Revision 1.40 2003/11/11 01:42:28 ankry +- caps unification, other cosmetics + +Revision 1.39 2003/10/25 00:37:27 pzurowski +- added %%{distversion}, %%{distname} and %%{distrelease} macros + +Revision 1.38 2003/05/25 05:49:04 misi3k +- massive attack s/pld.org.pl/pld-linux.org/ + +Revision 1.37 2002/12/02 23:45:05 ankry +- merged translations from RH + +Revision 1.36 2002/12/02 22:30:08 blues +- started with 1.99 - 2.0 will be the-final-touch(TM) after work :) + +Revision 1.35 2002/12/02 09:09:31 ankry +- s/Acze/Ac/g + +Revision 1.34 2002/11/29 14:19:08 mmazur +- I'll be setting up some boxes soon, so I need this + +Revision 1.33 2002/07/03 22:13:15 kloczek +- csmetics. + +Revision 1.32 2002/04/25 16:37:59 arturs +fixed a small typo + +Revision 1.31 2002/03/06 15:04:58 gotar +- added Obsoletes: issue-alpha, +- release++. + +Revision 1.30 2002/02/23 02:59:07 kloczek +- adapterized. + +Revision 1.29 2002/02/22 23:29:05 kloczek +- removed all Group fields translations (our rpm now can handle translating + Group field using gettext). + +Revision 1.28 2002/01/26 08:57:03 kloczek +- reelase 11: License: GPL. + +Revision 1.27 2002/01/22 21:50:44 mkochano +- Release 10. + +Revision 1.26 2002/01/22 21:08:03 mkochano +- Added Obsoletes: issue-fancy. + +Revision 1.25 2002/01/19 20:23:46 mkochano +- Added empty %%prep section for ./builder to get sources and patches + list. + +Revision 1.24 2002/01/18 02:13:22 kloczek +perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/" + +Revision 1.23 2001/11/22 14:32:19 qboosh +- Obsoletes: issue-pure + +Revision 1.22 2001/11/22 14:23:09 qboosh +- s@PLD GNU/Linux@PLD Linux@ +- release 9 + +Revision 1.21 2001/09/02 16:55:55 kloczek +- release 8. + +Revision 1.20 2001/09/02 12:10:36 filon +- added spaces around \m and %m +- changed '\u users' to '\U', it will show '1 user' not '1 users' + +Revision 1.19 2001/07/20 10:12:40 migo +- added missing "-l pl" +- changed "linuxa" to "linuksa" + +Revision 1.18 2001/07/18 18:32:10 klakier +- back to previus design - ascii-art logo with stork is in issue-logo + that can be used to overwrite this package +- obsoletes: issue-logo + +Revision 1.15 2000/08/25 03:04:43 kloczek +- release 7 +- added redhat-release and mandrake-release to Obsoletes. + +Revision 1.14 2000/06/03 14:40:49 baggins +- reset terminal in /etc/issue +- added number of logged users to /etc/issue +- beautyfing changes +- release 6 + +Revision 1.13 2000/06/02 13:33:49 baggins +- release 5 + +Revision 1.12 2000/06/02 13:33:32 baggins +- added \l to issue + +Revision 1.11 2000/05/30 14:18:44 baggins +- typo + +Revision 1.10 2000/05/30 14:10:46 baggins +- new and improved + +Revision 1.9 2000/05/21 15:02:33 kloczek +- spec adapterized. + +Revision 1.8 2000/04/01 11:14:47 zagrodzki +- changed all BuildRoot definitons +- removed all applnkdir defs +- changed some prereqs/requires +- removed duplicate empty lines + +Revision 1.7 2000/03/28 16:54:34 baggins +- translated kloczkish into english + +Revision 1.6 1999/11/09 13:59:27 kloczek +- release 3, +- fixed making /etc/issue. + +* Thu Jun 24 1999 Artur Frysiak + [1.0-2] +- build for PLD-stable +- removed Source +- separate issue and issue.net + +* Tue Dec 08 1998 Wojtek Ślusarczyk + [1.1-1d] +- build for prerelease-1. -- 2.46.0