This commit is contained in:
parent
71047212fc
commit
67025a3f61
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 1 17:25:19 CET 2007 - sbrabec@suse.cz
|
||||
|
||||
- Fixed devel dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 23:13:40 CET 2007 - dmueller@suse.de
|
||||
|
||||
|
37
libexif.spec
37
libexif.spec
@ -17,7 +17,7 @@ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: An EXIF Tag Parsing Library for Digital Cameras
|
||||
Version: 0.6.14
|
||||
Release: 25
|
||||
Release: 26
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: libexif-fixpkgconfig.patch
|
||||
@ -36,6 +36,7 @@ Authors:
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
|
||||
Requires: %{name} = %{version} glibc-devel
|
||||
|
||||
%description devel
|
||||
This library is used to parse EXIF information from JPEGs created by
|
||||
@ -53,34 +54,34 @@ Authors:
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fstack-protector"
|
||||
./configure \
|
||||
--with-doc-dir=%_defaultdocdir/%name/ \
|
||||
--prefix=/usr \
|
||||
--libdir=%{_libdir} \
|
||||
--disable-static
|
||||
make
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||||
%configure\
|
||||
--disable-static\
|
||||
--with-doc-dir=%{_docdir}/%{name}
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make DESTDIR=${RPM_BUILD_ROOT}/ install
|
||||
%makeinstall
|
||||
%find_lang %{name}-12
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}-12.lang
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lib*.so.*
|
||||
/usr/share/locale/*/LC_MESSAGES/libexif*.mo
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/lib*.la
|
||||
/usr/include/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 01 2007 - sbrabec@suse.cz
|
||||
- Fixed devel dependencies.
|
||||
* Tue Feb 27 2007 - dmueller@suse.de
|
||||
- split off devel package
|
||||
* Tue Oct 17 2006 - meissner@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user