SPECS: hello.spec - readded info patch - cleanup

qboosh qboosh at pld-linux.org
Thu Dec 25 14:24:43 CET 2008


Author: qboosh                       Date: Thu Dec 25 13:24:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- readded info patch
- cleanup

---- Files affected:
SPECS:
   hello.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/hello.spec
diff -u SPECS/hello.spec:1.24 SPECS/hello.spec:1.25
--- SPECS/hello.spec:1.24	Mon Dec 22 13:23:46 2008
+++ SPECS/hello.spec	Thu Dec 25 14:24:37 2008
@@ -8,6 +8,7 @@
 Group:		Applications
 Source0:	http://ftp.gnu.org/gnu/hello/%{name}-%{version}.tar.gz
 # Source0-md5:	1691faa758ca41c70b6da5501bdf230a
+Patch0:		%{name}-info.patch
 URL:		http://www.gnu.org/software/hello/hello.html
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
@@ -19,15 +20,12 @@
 The 'hello' command is for printing a greeting message.
 
 %description -l pl.UTF-8
-Komenda 'hello' służy do wyświetlania niezobowiązującego
+Polecenie 'hello' służy do wyświetlania niezobowiązującego
 pozdrowienia.
 
 %prep
 %setup -q
-
-rm -f po/stamp-po
-# de.po for de_DE exists and is up to date, de_DE.po is outdated
-rm -f po/de_DE*
+%patch0 -p1
 
 %build
 %{__gettextize}
@@ -49,18 +47,18 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p	/sbin/postshell
+%post	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-p	/sbin/postshell
+%postun	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog* NEWS README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/hello
 %{_mandir}/man1/hello.1*
-%{_infodir}/*.info*
+%{_infodir}/hello.info*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +66,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008/12/25 13:24:37  qboosh
+- readded info patch
+- cleanup
+
 Revision 1.24  2008/12/22 12:23:46  lisu
 - more verbose files
 - adapter
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/hello.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list