Initial import

https://bugzilla.redhat.com/show_bug.cgi?id=1372695
This commit is contained in:
Kalev Lember 2016-09-02 16:26:50 +02:00
parent e7a69c36ca
commit 7040860185
3 changed files with 80 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/gnome-autoar-0.1.0.tar.xz

78
gnome-autoar.spec Normal file
View File

@ -0,0 +1,78 @@
Name: gnome-autoar
Version: 0.1.0
Release: 1%{?dist}
Summary: Archive library
License: LGPLv2+
URL: https://git.gnome.org/browse/gnome-autoar
Source0: https://download.gnome.org/sources/gnome-autoar/0.1/gnome-autoar-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libarchive)
%description
gnome-autoar is a GObject based library for handling archives.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
%configure --disable-static
%make_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/GnomeAutoar-0.1.typelib
%{_libdir}/girepository-1.0/GnomeAutoarGtk-0.1.typelib
%{_libdir}/libgnome-autoar-0.so.0*
%{_libdir}/libgnome-autoar-gtk-0.so.0*
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.archives.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.archives.gschema.xml
%files devel
%{_includedir}/gnome-autoar-0/
%{_includedir}/gnome-autoar-gtk-0/
%{_libdir}/pkgconfig/gnome-autoar-0.pc
%{_libdir}/pkgconfig/gnome-autoar-gtk-0.pc
%{_libdir}/*.so
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/GnomeAutoar-0.1.gir
%{_datadir}/gir-1.0/GnomeAutoarGtk-0.1.gir
%{_datadir}/gtk-doc/
%changelog
* Fri Sep 02 2016 Kalev Lember <klember@redhat.com> - 0.1.0-1
- Initial Fedora build

View File

@ -0,0 +1 @@
0138b416f620f6141d847b187c53764f gnome-autoar-0.1.0.tar.xz