diff --git a/.cvsignore b/.cvsignore index e69de29..f1af1a4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libgexiv2-0.0.91.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..502fec2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libgexiv2-0_0_91-2_fc13:HEAD:libgexiv2-0.0.91-2.fc13.src.rpm:1277090131 diff --git a/libgexiv2.spec b/libgexiv2.spec new file mode 100644 index 0000000..e681756 --- /dev/null +++ b/libgexiv2.spec @@ -0,0 +1,100 @@ +Name: libgexiv2 +Version: 0.0.91 +Release: 2%{?dist} +Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library + +Group: System Environment/Libraries +License: GPLv2 +URL: http://trac.yorba.org/wiki/gexiv2 +Source0: http://yorba.org/download/gexiv2/0.0/unstable/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: exiv2-devel gobject-introspection-devel libtool + + +%description +libgexiv2 is a GObject-based wrapper around the Exiv2 library. +It makes the basic features of Exiv2 available to GNOME applications. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: vala + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + +%build +## configure fails with the error: +## configure: Invalid argument --program-prefix= +## http://trac.yorba.org:8000/ticket/2001 + +echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp +echo 'make %{?_smp_mflags}' >>build.tmp +sh build.tmp + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING MAINTAINERS +%{_libdir}/libgexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/gexiv2/ +%{_libdir}/libgexiv2.so +%{_libdir}/pkgconfig/gexiv2.pc +%{_datadir}/vala/vapi/gexiv2.vapi + + +%changelog +* Mon Jun 14 2010 Ankur Sinha - 0.0.91-2 +- changed file section so package owns the directory containing headers too + +* Fri Jun 11 2010 Ankur Sinha - 0.0.91-1 +- updated to latest release +- removed patch - it was included in this release + +* Sat Jun 05 2010 Ankur Sinha - 0.0.90-5 +- changed configure macro as per bug report comment + +* Sat Jun 05 2010 Ankur Sinha - 0.0.90-4 +- changed configure portion +- added Requires: vala for devel +- made the file section more precise +- bugzilla #599097 +- changed patch to include a default LIB setting + +* Fri Jun 04 2010 Ankur Sinha - 0.0.90-3 +- patched makefile + +* Thu Jun 03 2010 Ankur Sinha - 0.0.90-2 +- some fixes in spec +- moved *.vapi to devel +- removed INSTALL from doc +- added comment to yorba ticket link +- corrected typo in description + +* Wed Jun 02 2010 Ankur Sinha - 0.0.90-1 +- initial rpmbuild diff --git a/sources b/sources index e69de29..0399f9c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +16b6252efabb196ae2bf799104caa0cc libgexiv2-0.0.91.tar.gz