gnome-autoar/gnome-autoar.spec

108 lines
3.2 KiB
RPMSpec

Name: gnome-autoar
Version: 20150427git
Release: 1mamba
Summary: Automatic archives creating and extracting library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/GNOME/gnome-autoar
## GITSOURCE https://github.com/GNOME/gnome-autoar.git master
Source: https://github.com/GNOME/gnome-autoar.git/master/gnome-autoar-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libarchive-devel
BuildRequires: libatk-devel
BuildRequires: libattr-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libnettle-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Automatic archives creating and extracting library.
%package -n lib%{name}
Group: System/Libraries
Summary: Automatic archives creating and extracting library
%description -n lib%{name}
Automatic archives creating and extracting library.
%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
./autogen.sh
%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}/libgnome-autoar-gtk.so.*
%{_libdir}/libgnome-autoar.so.*
%{_libdir}/girepository-1.0/GnomeAutoar-0.1.typelib
%{_libdir}/girepository-1.0/GnomeAutoarGtk-0.1.typelib
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.archives.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.archives.gschema.xml
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/gnome-autoar
%{_includedir}/gnome-autoar/autoar*.h
%{_libdir}/libgnome-autoar-gtk.a
%{_libdir}/libgnome-autoar-gtk.la
%{_libdir}/libgnome-autoar-gtk.so
%{_libdir}/libgnome-autoar.a
%{_libdir}/libgnome-autoar.la
%{_libdir}/libgnome-autoar.so
%{_libdir}/pkgconfig/gnome-autoar-gtk.pc
%{_libdir}/pkgconfig/gnome-autoar.pc
%{_datadir}/gir-1.0/GnomeAutoar-0.1.gir
%{_datadir}/gir-1.0/GnomeAutoarGtk-0.1.gir
%changelog
* Mon Apr 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20150427git-1mamba
- package created using the webbuild interface