SPECS: exiv2.spec - base R: -libs, -devel R: libstdc++-devel - mov...

qboosh qboosh at pld-linux.org
Fri Sep 2 20:38:01 CEST 2005


Author: qboosh                       Date: Fri Sep  2 18:38:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- base R: -libs, -devel R: libstdc++-devel
- moved .so symlink to -devel
- use optflags

---- Files affected:
SPECS:
   exiv2.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/exiv2.spec
diff -u SPECS/exiv2.spec:1.4 SPECS/exiv2.spec:1.5
--- SPECS/exiv2.spec:1.4	Fri Sep  2 20:16:47 2005
+++ SPECS/exiv2.spec	Fri Sep  2 20:37:55 2005
@@ -10,6 +10,7 @@
 # Source0-md5:	540e720b77c05ca50d5005a140e38138
 URL:		http://home.arcor.de/ahuggel/exiv2/
 BuildRequires:	libstdc++-devel
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +34,8 @@
 Summary:	Exif and Iptc metadata manipulation library development files
 Summary(pl):	Pliki programistyczne biblioteki do obróbki metadanych Exif i Iptc
 Group:		Development/Libraries
-Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	libstdc++-devel
 
 %description devel
 Exif and Iptc metadata manipulation library development files.
@@ -45,7 +47,7 @@
 Summary:	Exif and Iptc metadata manipulation static library
 Summary(pl):	Statyczna biblioteka do obróbki metadanych Exif i Iptc
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Exif and Iptc metadata manipulation static library.
@@ -58,7 +60,9 @@
 
 %build
 %configure
-%{__make}
+%{__make} \
+	CFLAGS="%{rpmcflags} -Wall" \
+	CXXFLAGS="%{rpmcxxflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -79,16 +83,17 @@
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/libexiv2-*.so
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/libexiv2.so
+%{_libdir}/libexiv2.la
 %{_includedir}/%{name}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libexiv2.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -96,6 +101,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/09/02 18:37:55  qboosh
+- base R: -libs, -devel R: libstdc++-devel
+- moved .so symlink to -devel
+- use optflags
+
 Revision 1.4  2005/09/02 18:16:47  qboosh
 - pl, fixed -devel dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/exiv2.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list