Package perl-AptPkg: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | # if debug isn't enabled, %%perl_vendor_build ignores %%optflags %def_enable debug Name: perl-AptPkg Version: 0.1.26 Release: alt6 Summary: Perl interface to libapt-pkg License: GPLv2+ Group: Development/Perl URL: http://packages.debian.org/unstable/perl/libapt-pkg-perl Source: libapt-pkg-perl-%version.tar Patch: %name-%version-%release.patch # Automatically added by buildreq on Wed Oct 12 2011 BuildRequires: gcc-c++ libapt-devel perl-devel %{?!_without_test:%{?!_disable_test:BuildPreReq: apt}} %description A Perl interface to APT's libapt-pkg which provides modules for configuration file/command line parsing, version comparison, inspection of the binary package cache and source package details. %prep %setup -n libapt-pkg-perl-%version %patch -p1 %{?!_without_test:%{?!_disable_test:cp -a /etc/apt/* t/cache/etc/}} %build # Needed by APT API: %add_optflags -std=gnu++17 %ifarch %e2k %remove_optflags -Wno-error %endif # To avoid some errors on API change: %add_optflags -Werror=overloaded-virtual # A style enforcement: always use the keyword, which helps to avoid API misuse %add_optflags -Werror=suggest-override %perl_vendor_build INC=-I%_includedir/rpm %{?!_without_test:%{?!_disable_test:||:}} %install %perl_vendor_install %files %doc README debian/changelog examples %perl_vendor_archlib/AptPkg.pm %dir %perl_vendor_archlib/AptPkg %perl_vendor_archlib/AptPkg/*.pm %doc %perl_vendor_archlib/AptPkg/*.pod %dir %perl_vendor_autolib/AptPkg %perl_vendor_autolib/AptPkg/AptPkg.so %changelog * Tue Sep 15 2020 Ivan Zakharyaschev <imz@altlinux.org> 0.1.26-alt6 - Adapted to changed API in apt-0.5.15lorg2-alt72 (pkgCacheFile class in RAII style). - (.spec) Just added some compiler flags (which don't change anything) to be sure that APT API has not been used wrongly and will not be. (Namely, to be sure that if a method override was intended, it would actually be overriding and not hiding a virtual method and that it would be marked "override" for future.) * Thu Jul 11 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 0.1.26-alt5 - Rebuilt with new Apt * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.1.26-alt4.qa1.2 - rebuild with new perl 5.28.1 * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.1.26-alt4.qa1.1.1 - rebuild with new perl 5.26.1 * Fri Feb 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.1.26-alt4.qa1.1 - rebuild with new perl 5.24.1 * Tue Nov 22 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.1.26-alt4.qa1 - Rebuilt with libapt-pkg-libc6.9-6.so.6. * Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 0.1.26-alt3.1.1.1.1 - rebuild with new perl 5.22.0 * Thu May 28 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.1.26-alt3.1.1.1 - Rebuilt for: + libapt-pkg-libc6.9-6.so.5. + gcc5 C++11 ABI. * Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 0.1.26-alt3.1.1 - rebuild with new perl 5.20.1 * Wed Sep 10 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.1.26-alt3.1 - Rebuilt with libapt-pkg-libc6.9-6.so.4. * Tue Mar 11 2014 Dmitry V. Levin <ldv@altlinux.org> 0.1.26-alt3 - Rebuilt. * Thu Aug 29 2013 Vladimir Lettiev <crux@altlinux.ru> 0.1.26-alt2 - built for perl 5.18 * Fri Jan 11 2013 Dmitry V. Levin <ldv@altlinux.org> 0.1.26-alt1 - 0.1.25 -> 0.1.26 * Sun Sep 02 2012 Vladimir Lettiev <crux@altlinux.ru> 0.1.25-alt2 - rebuilt for perl-5.16 * Wed Oct 12 2011 Alexey Tourbin <at@altlinux.ru> 0.1.25-alt1 - 0.1.24 -> 0.1.25 - built for perl-5.14 * Fri Nov 05 2010 Vladimir Lettiev <crux@altlinux.ru> 0.1.24-alt1.1.1 - rebuilt with perl 5.12 * Mon Dec 21 2009 Alexey I. Froloff <raorn@altlinux.org> 0.1.24-alt1.1 - NMU: + rebuilt with apt 0.5.15lorg2-alt31.1 + AptPkg::PkgRecords::lookup(): also return raw changelog text * Fri Nov 27 2009 Alexey Tourbin <at@altlinux.ru> 0.1.24-alt1 - 0.1.22 -> 0.1.24 * Sat Aug 30 2008 Alexey Tourbin <at@altlinux.ru> 0.1.22-alt1 - 0.1.20 -> 0.1.22 * Sat Jan 06 2007 Alexey Tourbin <at@altlinux.ru> 0.1.20-alt2 - rebuilt with new libapt-pkg/glibc * Sat Jun 17 2006 Alexey Tourbin <at@altlinux.ru> 0.1.20-alt1 - 0.1.12 -> 0.1.20 * Tue Aug 10 2004 Alexey Tourbin <at@altlinux.ru> 0.1.12-alt1 - initial revision - fc-rpm.patch: fix build - license: GPL |