diff --git a/README.md b/README.md index 2746969..7c87ecb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gexiv2 +gexiv2 is a GObject-based wrapper around the Exiv2 library. + diff --git a/gexiv2.spec b/gexiv2.spec new file mode 100644 index 0000000..6622a0e --- /dev/null +++ b/gexiv2.spec @@ -0,0 +1,77 @@ +Name: gexiv2 +Version: 0.10.3 +Release: 1mamba +Summary: A GObject-based wrapper around the Exiv2 library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://wiki.gnome.org/Projects/gexiv2 +Source: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libexiv2-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +gexiv2 is a GObject-based wrapper around the Exiv2 library. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libgexiv2.so.* +%doc AUTHORS COPYING THANKS + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/gexiv2 +%{_includedir}/gexiv2/* +%{_libdir}/libgexiv2.la +%{_libdir}/libgexiv2.so +%{_libdir}/pkgconfig/gexiv2.pc +%{_datadir}/vala/vapi/gexiv2.vapi +%doc NEWS README + +%changelog +* Sat Mar 19 2016 Silvan Calarco 0.10.3-1mamba +- package created using the webbuild interface