[12005] | 1 | %define _unpackaged_files_terminate_build 1 |
---|
| 2 | |
---|
| 3 | Summary: Archive library |
---|
| 4 | Summary(ja): アーカイブライブラリ |
---|
[12446] | 5 | Name: gnome-autoar |
---|
| 6 | Version: 0.2.4 |
---|
[12528] | 7 | Release: 2%{?_dist_release} |
---|
| 8 | Group: system |
---|
[12005] | 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | |
---|
| 12 | License: LGPLv2+ |
---|
| 13 | URL: https://git.gnome.org/browse/gnome-autoar |
---|
[12446] | 14 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
| 15 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
[12528] | 16 | Patch1000: CVE-2020-36241.patch |
---|
[12005] | 17 | |
---|
| 18 | BuildRequires: gcc |
---|
| 19 | BuildRequires: pkgconfig(gio-2.0) |
---|
| 20 | BuildRequires: pkgconfig(glib-2.0) |
---|
| 21 | BuildRequires: pkgconfig(gobject-2.0) |
---|
| 22 | BuildRequires: pkgconfig(gobject-introspection-1.0) |
---|
| 23 | BuildRequires: pkgconfig(gtk+-3.0) |
---|
| 24 | BuildRequires: pkgconfig(libarchive) |
---|
| 25 | BuildRequires: vala-devel |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | gnome-autoar is a GObject based library for handling archives. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Development files for %{name} |
---|
[12528] | 33 | Group: programming |
---|
[12005] | 34 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | The %{name}-devel package contains libraries and header files for |
---|
| 38 | developing applications that use %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
[12528] | 41 | %debug_package |
---|
| 42 | |
---|
| 43 | |
---|
[12005] | 44 | %prep |
---|
[12528] | 45 | %autosetup -p1 |
---|
[12005] | 46 | |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | %configure --disable-static |
---|
| 50 | %make_build |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | %make_install |
---|
| 55 | find $RPM_BUILD_ROOT -name '*.la' -delete |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %check |
---|
| 59 | make check |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %license COPYING |
---|
| 64 | %dir %{_libdir}/girepository-1.0 |
---|
| 65 | %{_libdir}/girepository-1.0/GnomeAutoar-0.1.typelib |
---|
| 66 | %{_libdir}/girepository-1.0/GnomeAutoarGtk-0.1.typelib |
---|
| 67 | %{_libdir}/libgnome-autoar-0.so.0* |
---|
| 68 | %{_libdir}/libgnome-autoar-gtk-0.so.0* |
---|
| 69 | |
---|
| 70 | %files devel |
---|
| 71 | %{_includedir}/gnome-autoar-0/ |
---|
| 72 | %{_libdir}/pkgconfig/gnome-autoar-0.pc |
---|
| 73 | %{_libdir}/pkgconfig/gnome-autoar-gtk-0.pc |
---|
| 74 | %{_libdir}/*.so |
---|
| 75 | %dir %{_datadir}/gir-1.0 |
---|
| 76 | %{_datadir}/gir-1.0/GnomeAutoar-0.1.gir |
---|
| 77 | %{_datadir}/gir-1.0/GnomeAutoarGtk-0.1.gir |
---|
| 78 | %{_datadir}/gtk-doc/ |
---|
| 79 | %dir %{_datadir}/vala |
---|
| 80 | %dir %{_datadir}/vala/vapi |
---|
| 81 | %{_datadir}/vala/vapi/gnome-autoar-0.vapi |
---|
| 82 | %{_datadir}/vala/vapi/gnome-autoar-gtk-0.vapi |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[12528] | 86 | * Fri Feb 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.2.4-2 |
---|
| 87 | - imported Patch1000 from upstream to fix CVE-2020-36241. |
---|
| 88 | |
---|
[12446] | 89 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.2.4-1 |
---|
| 90 | - new upstream release. |
---|
| 91 | |
---|
[12005] | 92 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.2.3-3 |
---|
| 93 | - initial build for Vine Linux. |
---|
| 94 | |
---|
| 95 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2 |
---|
| 96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 97 | |
---|
| 98 | * Sat Mar 03 2018 Kalev Lember <klember@redhat.com> - 0.2.3-1 |
---|
| 99 | - Update to 0.2.3 |
---|
| 100 | - Drop ldconfig scriptlets |
---|
| 101 | |
---|
| 102 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-4 |
---|
| 106 | - Switch to %%ldconfig_scriptlets |
---|
| 107 | |
---|
| 108 | * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3 |
---|
| 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
| 110 | |
---|
| 111 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2 |
---|
| 112 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 113 | |
---|
| 114 | * Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 0.2.2-1 |
---|
| 115 | - Update to 0.2.2 |
---|
| 116 | |
---|
| 117 | * Fri Mar 03 2017 Kalev Lember <klember@redhat.com> - 0.2.1-1 |
---|
| 118 | - Update to 0.2.1 |
---|
| 119 | |
---|
| 120 | * Fri Feb 24 2017 Kalev Lember <klember@redhat.com> - 0.2.0-1 |
---|
| 121 | - Update to 0.2.0 |
---|
| 122 | - Build with vala support |
---|
| 123 | |
---|
| 124 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Sat Sep 03 2016 Kalev Lember <klember@redhat.com> - 0.1.1-1 |
---|
| 128 | - Update to 0.1.1 |
---|
| 129 | |
---|
| 130 | * Fri Sep 02 2016 Kalev Lember <klember@redhat.com> - 0.1.0-1 |
---|
| 131 | - Initial Fedora build |
---|