2 # - Add bcond for vapi support and subpackage
4 Summary: GObject-based wrapper around the Exiv2 library
9 Group: Applications/Graphics
10 Source0: http://yorba.org/download/%{name}/0.1/lib%{name}-%{version}.tar.bz2
11 # Source0-md5: efae406dac86aa6db4cfb75569cbb3f9
12 URL: http://libexif.sourceforge.net/
13 Patch0: gexiv2-libtool.patch
14 BuildRequires: exiv2-devel
15 BuildRequires: pkgconfig
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
21 the basic features of Exiv2 available to GNOME applications.
24 Summary: GObject-based wrapper around the Exiv2 library
26 Group: Development/Libraries
29 gexiv2 development files
32 Summary: GObject-based wrapper around the Exiv2 library
33 Requires: exiv2-static
34 Group: Development/Libraries
40 %setup -q -n lib%{name}-%{version}
45 ./configure --prefix=%{_prefix}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
61 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.0
62 %attr(755,root,root) %{_libdir}/lib%{name}.so
65 %defattr(644,root,root,755)
66 %{_libdir}/lib%{name}.la
67 %{_includedir}/%{name}
68 %{_pkgconfigdir}/%{name}.pc
71 %defattr(644,root,root,755)
72 %{_libdir}/lib%{name}.a