Author: sparky                       Date: Sat Apr 17 12:55:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: openssl-devel
- link using gcc; added LDFLAGS
- fixed 64bit build
- more verbose files

---- Files affected:
packages/libfetch:
   libfetch.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/libfetch/libfetch.spec
diff -u packages/libfetch/libfetch.spec:1.2 packages/libfetch/libfetch.spec:1.3
--- packages/libfetch/libfetch.spec:1.2 Sat Apr 17 14:27:27 2010
+++ packages/libfetch/libfetch.spec     Sat Apr 17 14:55:23 2010
@@ -8,6 +8,7 @@
 Source0:       
http://gogglesmm.googlecode.com/files/%{name}-%{version}-arch.tar.gz
 # Source0-md5: 256b7875cddb348d35a6a1817819a76f
 Patch0:                makefile-user-cflags.patch
+BuildRequires: openssl-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,14 +31,17 @@
 %build
 %{__make} -f Makefile.linux \
        USERCFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}" \
        CC="%{__cc}" \
-       LD="%{__ld}" \
+       LD="%{__cc}" \
        AR="%{__ar}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} -f Makefile.linux install \
+       prefix="%{_prefix}" \
+       libdir="%{_libdir}" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -48,12 +52,12 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libfetch.so
 
 %files devel
 %defattr(644,root,root,755)
 %{_mandir}/man3/fetch.*
-%{_libdir}/lib*.a
+%{_libdir}/libfetch.a
 %{_includedir}/fetch.h
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -62,6 +66,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/04/17 12:55:23  sparky
+- BR: openssl-devel
+- link using gcc; added LDFLAGS
+- fixed 64bit build
+- more verbose files
+
 Revision 1.2  2010/04/17 12:27:27  uzsolt
 - move man3 to devel package
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libfetch/libfetch.spec?r1=1.2&r2=1.3&f=u

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

Reply via email to