1 Summary: GObject-based wrapper around the Exiv2 library
2 Summary(pl.UTF-8): Oparte na GObject obudowanie biblioteki Exiv2
8 Source0: http://yorba.org/download/gexiv2/0.3/lib%{name}-%{version}.tar.bz2
9 # Source0-md5: 35696a9da49351cfec360147d34ae1ee
10 URL: http://trac.yorba.org/wiki/gexiv2
11 BuildRequires: exiv2-devel >= 0.21
12 BuildRequires: glib2-devel >= 1:2.0
13 BuildRequires: libstdc++-devel
14 BuildRequires: libtool >= 2:1.5
16 BuildRequires: pkgconfig
17 BuildRequires: sed >= 4.0
18 Requires: exiv2-libs >= 0.21
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
23 the basic features of Exiv2 available to GNOME applications.
25 %description -l pl.UTF-8
26 gexiv2 to oparte na GObject obudowanie biblioteki Exiv2. Udostępnia
27 podstawowe możliwości Exiv2 aplikacjom GNOME.
30 Summary: Header files for gexiv2 library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gexiv2
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: exiv2-devel >= 0.21
35 Requires: glib2-devel >= 1:2.0
36 Requires: libstdc++-devel
39 Header files for gexiv2 library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki gexiv2.
45 Summary: Static gexiv2 library
46 Summary(pl.UTF-8): Statyczna biblioteka gexiv2
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static gexiv2 library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka gexiv2.
56 %package -n vala-gexiv2
57 Summary: Vala binding for gexiv2 library
58 Summary(pl.UTF-8): Wiązanie języka vala do biblioteki gexiv2
59 Group: Development/Languages
60 Requires: %{name}-devel = %{version}-%{release}
62 %description -n vala-gexiv2
63 Vala binding for gexiv2 library.
65 %description -n vala-gexiv2 -l pl.UTF-8
66 Wiązanie języka vala do biblioteki gexiv2.
69 %setup -q -n lib%{name}-%{version}
72 # not autoconf-generated
77 CFLAGS="%{rpmcflags}" \
82 # fix hardcoded ${exec_prefix}/lib
83 sed -i -e 's,^libdir=.*,libdir=%{_libdir},' gexiv2.pc
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT \
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc AUTHORS MAINTAINERS NEWS README THANKS
101 %attr(755,root,root) %{_libdir}/libgexiv2.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libgexiv2.so.0
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libgexiv2.so
107 %{_libdir}/libgexiv2.la
108 %{_includedir}/gexiv2
109 %{_pkgconfigdir}/gexiv2.pc
112 %defattr(644,root,root,755)
113 %{_libdir}/libgexiv2.a
115 %files -n vala-gexiv2
116 %defattr(644,root,root,755)
117 %{_datadir}/vala/vapi/gexiv2.vapi