Author: qboosh                       Date: Sun Jan 27 11:37:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use optflags
- use hand installation, makefile has /usr/lib hardcoded
- removed empty ChangeLog
- GPL v2+

---- Files affected:
SPECS:
   libgsmat.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libgsmat.spec
diff -u SPECS/libgsmat.spec:1.1 SPECS/libgsmat.spec:1.2
--- SPECS/libgsmat.spec:1.1     Sun Dec 30 23:12:55 2007
+++ SPECS/libgsmat.spec Sun Jan 27 12:37:23 2008
@@ -4,7 +4,7 @@
 Name:          libgsmat
 Version:       0.0.2
 Release:       0.1
-License:       GPL
+License:       GPL v2+
 Group:         Libraries
 Source0:       %{name}-%{version}.tar.bz2
 # Source0-md5: 5d2458d8521e6b2e664ea7570964cf5c
@@ -50,15 +50,16 @@
 
 %build
 %{__make} \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
 
-%{__make} install \
-       INSTALL_PREFIX=$RPM_BUILD_ROOT
-
-install %{name}.so $RPM_BUILD_ROOT%{_libdir}
+cp -a libgsmat.so* $RPM_BUILD_ROOT%{_libdir}
+install libgsmat.a $RPM_BUILD_ROOT%{_libdir}
+install libgsmat.h $RPM_BUILD_ROOT%{_includedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,17 +69,18 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README TODO
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc README TODO
+%attr(755,root,root) %{_libdir}/libgsmat.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgsmat.so.1
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libgsmat.so
 %{_includedir}/%{name}.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgsmat.a
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -86,6 +88,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-01-27 11:37:23  qboosh
+- use optflags
+- use hand installation, makefile has /usr/lib hardcoded
+- removed empty ChangeLog
+- GPL v2+
+
 Revision 1.1  2007-12-30 22:12:55  adamg
 - new
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgsmat.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to