78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.10.3-1mamba
|
||
|
- package created using the webbuild interface
|