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/gexiv2/0.2/lib%{name}-%{version}.tar.bz2
11 # Source0-md5: 2bdedaa705260a1f36ae335a5a426f6a
12 URL: http://trac.yorba.org/wiki/gexiv2
13 BuildRequires: exiv2-devel >= 0.19
14 BuildRequires: pkgconfig
16 Requires: exiv2-libs >= 0.19
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
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: exiv2-devel >= 0.19
30 gexiv2 development files
33 Summary: GObject-based wrapper around the Exiv2 library
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: exiv2-static >= 0.19
42 %setup -q -n lib%{name}-%{version}
46 ./configure --prefix=%{_prefix}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT \
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
64 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.0
65 %attr(755,root,root) %{_libdir}/lib%{name}.so
68 %defattr(644,root,root,755)
69 %{_libdir}/lib%{name}.la
70 %{_includedir}/%{name}
71 %{_pkgconfigdir}/%{name}.pc
72 /usr/share/vala/vapi/gexiv2.vapi
75 %defattr(644,root,root,755)
76 %{_libdir}/lib%{name}.a