SPECS: gammu.spec - updated sparc-speeds patch, apply it unconditi...

qboosh qboosh at pld-linux.org
Sat Oct 29 17:00:29 CEST 2005


Author: qboosh                       Date: Sat Oct 29 15:00:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated sparc-speeds patch, apply it unconditionally
- updated destdir cleaning, unified examplesdir

---- Files affected:
SPECS:
   gammu.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/gammu.spec
diff -u SPECS/gammu.spec:1.33 SPECS/gammu.spec:1.34
--- SPECS/gammu.spec:1.33	Thu Oct 27 19:40:40 2005
+++ SPECS/gammu.spec	Sat Oct 29 17:00:24 2005
@@ -42,10 +42,8 @@
 %prep
 %setup -q
 #%patch0 -p1
-%patch1
-%ifarch sparc
+%patch1 -p0
 %patch2 -p1
-%endif
 
 %build
 cd cfg/autoconf
@@ -60,7 +58,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version}}
 %{__make} installshared \
 	DESTDIR=$RPM_BUILD_ROOT \
 	prefix=%{_prefix} \
@@ -69,12 +67,11 @@
 	FIND=/usr/bin/find
 
 install docs/examples/config/gammurc $RPM_BUILD_ROOT%{_sysconfdir}
-cp -r docs/{examples,develop} $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -r docs/{examples,develop} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 # anybody feels like developing gammu-based apps?
-rm -rf $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/*.{so,a}}
-rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig # yes, not pkgconfigdir
+rm -rf $RPM_BUILD_ROOT{%{_includedir},%{_libdir}/{*.{so,a},pkgconfig}}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -87,9 +84,9 @@
 %doc changelog docs/* readme.txt
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_libdir}/*.so.*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gammurc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gammurc
 %{_datadir}/%{name}
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 %{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -98,6 +95,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2005/10/29 15:00:24  qboosh
+- updated sparc-speeds patch, apply it unconditionally
+- updated destdir cleaning, unified examplesdir
+
 Revision 1.33  2005/10/27 17:40:40  arekm
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gammu.spec?r1=1.33&r2=1.34&f=u




More information about the pld-cvs-commit mailing list