From 7040860185f1a0672031a0f19d1ee101e7b3ce99 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 2 Sep 2016 16:26:50 +0200 Subject: [PATCH] Initial import https://bugzilla.redhat.com/show_bug.cgi?id=1372695 --- .gitignore | 1 + gnome-autoar.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 80 insertions(+) create mode 100644 gnome-autoar.spec diff --git a/.gitignore b/.gitignore index e69de29..f8a734a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-autoar-0.1.0.tar.xz diff --git a/gnome-autoar.spec b/gnome-autoar.spec new file mode 100644 index 0000000..7be0017 --- /dev/null +++ b/gnome-autoar.spec @@ -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 - 0.1.0-1 +- Initial Fedora build diff --git a/sources b/sources index e69de29..3a8def9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0138b416f620f6141d847b187c53764f gnome-autoar-0.1.0.tar.xz