]> git.pld-linux.org Git - packages/fortune-mod.git/commitdiff
- splited into program & data packages - english fortunes aren't necessary
authorundefine <undefine@pld-linux.org>
Tue, 16 Jan 2001 12:36:46 +0000 (12:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed strip and man compressing.

Changed files:
    fortune-mod.spec -> 1.11

fortune-mod.spec

index 6f8ba47dec282f4911dd4aebe0130a1ed6f80670..90c5e29343987a5d69ae6e23523d4e35088205a9 100644 (file)
@@ -1,11 +1,14 @@
 Summary:       A program which will display a fortune.
+Summary(pl):   Program wy¶wietlaj±cy losow± fortunkê.
 Name:          fortune-mod
 Version:       1.0
-Release:       11
+Release:       12
 License:       BSD
-Group:         Games
+Group:         Applications/Games
+Group(de):     Applikationen/Spiele
+Group(pl):     Aplikacje/Gry
 Source0:       ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/%{name}-9708.tar.gz
-Patch0:                fortune-mod-offense.patch
+Patch0:                %{name}-offense.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,6 +28,35 @@ podczas logowania? Program fortune jest dla Ciebie. Administratorzy z
 poczuciem humoru mog± dodaæ fortune do plików .login u¿ytkowników tak,
 by ka¿dy otrzyma³ swoj± dawkê m±dro¶ci przy logowaniu.
 
+%package data
+Summary:       A program which will display a fortune.
+Summary(pl):   Program wy¶wietlaj±cy losow± fortunkê.
+Group:         Applications/Games
+Group(de):     Applikationen/Spiele
+Group(pl):     Aplikacje/Gry
+Requires:      %{name}
+
+%description data
+Fortune-mod contains the ever-popular fortune program. Want a little
+bit of random wisdom revealed to you when you log in? Fortune's your
+program. Fun-loving system administrators can add fortune to users'
+.login files, so that the users get their dose of wisdom each time
+they log in.
+
+Install fortune if you want a program which will bestow these random
+bits o' wit.
+
+This package constain english data files for fortunes.
+
+%description data -l pl
+Fortune-mod zawiera wci±¿ popularny program fortune ("cytat dnia",
+"przepowiednia"). Masz ochotê na odrobinê m±dro¶ci przekazanej Ci
+podczas logowania? Program fortune jest dla Ciebie. Administratorzy z
+poczuciem humoru mog± dodaæ fortune do plików .login u¿ytkowników tak,
+by ka¿dy otrzyma³ swoj± dawkê m±dro¶ci przy logowaniu.
+
+Ten pakiet zawiera angielskie pliki z danymi dla fortunek.
+
 %prep
 %setup -q -n fortune-mod-9708
 %patch0 -p1
@@ -43,12 +75,10 @@ make        FORTDIR=$RPM_BUILD_ROOT%{_prefix}/games \
        FORTMANDIR=$RPM_BUILD_ROOT%{_mandir}/man6 \
        install
 
-strip --strip-unneeded $RPM_BUILD_ROOT{%{_sbindir}/*,%{_prefix}/games/fortune} || :
-
 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/unstr.1
 echo ".so strfile.1" > $RPM_BUILD_ROOT%{_mandir}/man1/unstr.1
 
-gzip -9nf README ChangeLog TODO $RPM_BUILD_ROOT%{_mandir}/man{1,6}/*
+gzip -9nf README ChangeLog TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_prefix}/games/fortune
 %attr(755,root,root) %{_sbindir}/strfile
 %attr(755,root,root) %{_sbindir}/unstr
-%{_datadir}/games/fortunes
 %{_mandir}/man6/fortune.6.gz
 %{_mandir}/man1/*
+
+%files data
+%defattr(644,root,root,755)
+%{_datadir}/games/fortunes
This page took 0.170023 seconds and 4 git commands to generate.