diff --git a/.gitignore b/.gitignore index 0c92048..9765896 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /abootimg-0.6-20110830gitff8e759.tar.gz -/abootimg-0.6-7e127fe.tar.gz diff --git a/abootimg.1.patch b/abootimg.1.patch new file mode 100644 index 0000000..0ae986d --- /dev/null +++ b/abootimg.1.patch @@ -0,0 +1,33 @@ +--- a/debian/abootimg.1.bak 2012-09-11 14:20:14.608400023 +0200 ++++ b/debian/abootimg.1 2012-09-11 14:20:25.765401545 +0200 +@@ -20,7 +20,7 @@ Tool to read/write/update android boot i + .SH OPTIONS + .TP + .B \-i +-print boot imgage informations ++print boot image information + .TP + .B \-x + Extract a boot image +@@ -34,7 +34,7 @@ Create a boot image + .SS "Options for extracting boot images" + .TP + .B bootimg +-Existing bootimage to use ++Existing boot image to use + .TP + .B bootimg.cfg + Name for the bootimg.cfg file, defaults to bootimg.cfg +@@ -51,10 +51,10 @@ Name for the second-stage image, default + .SS "Options for updating and creating boot images" + .TP + .B bootimg +-Existing bootimage to use ++Existing boot image to use + .TP + .B \-c "param=value" +-Existing bootimage to use ++Existing boot image to use + .TP + .B \-f + Update bootimg.cfg with the named file diff --git a/abootimg.spec b/abootimg.spec index 435b68a..f27a339 100644 --- a/abootimg.spec +++ b/abootimg.spec @@ -1,18 +1,19 @@ -%global codate 20230721 -%global commit0 7e127fee6a3981f6b0a50ce9910267cd501e09d4 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - %global gitrev ff8e759 %global checkout 20110830git%{gitrev} Name: abootimg Version: 0.6 -Release: %autorelease -s %{codate}git%{shortcommit0} +Release: 25.%{checkout}%{?dist} Summary: Tool for manipulating Android boot images -License: GPL-2.0-or-later -URL: https://github.com/ggrandou/abootimg -Source0: https://github.com/ggrandou/abootimg/archive/%{commit0}.tar.gz#/%{name}-%{version}-%{shortcommit0}.tar.gz +License: GPLv2+ +URL: https://gitorious.org/ac100/abootimg +# git clone git://gitorious.org/ac100/abootimg.git +# cd abootimg ; git archive --format=tar --prefix=abootimg-%%{version}-%%{checkout}/ %%{gitrev} | gzip > abootimg-%%{version}-%%{checkout}.tar.gz +Source0: abootimg-%{version}-%{checkout}.tar.gz +# https://bugzilla.redhat.com/show_bug.cgi?id=856241 +# Fix man page typos. Sent upstream +Patch0: abootimg.1.patch BuildRequires: gcc BuildRequires: libblkid-devel @@ -23,7 +24,8 @@ partition format defined by the Android Open Source Project. %prep -%autosetup -p1 -n %{name}-%{commit0} +%setup -q -n abootimg-%{version}-%{checkout} +%patch0 -p1 -b .mantypo %build @@ -37,11 +39,84 @@ install -D -m 644 -p debian/abootimg.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/abootim %files -%doc Changelog README -%license LICENSE %{_bindir}/abootimg %{_mandir}/man1/* +%doc Changelog LICENSE README + %changelog -%autochangelog +* Wed Jul 20 2022 Fedora Release Engineering - 0.6-25.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 0.6-24.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 0.6-23.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jan 25 2021 Fedora Release Engineering - 0.6-22.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.6-21.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 0.6-20.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 0.6-19.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.6-18.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 0.6-17.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.6-16.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0.6-15.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.6-14.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.6-13.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 0.6-12.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 16 2015 Fedora Release Engineering - 0.6-11.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 15 2014 Fedora Release Engineering - 0.6-10.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 0.6-9.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.6-8.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 0.6-7.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 11 2012 Yanko Kaneti 0.6-6.20110830gitff8e759 +- Fix man page typos. Filip Holec , bug 856241 + +* Wed Jul 18 2012 Fedora Release Engineering - 0.6-5.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 0.6-4.20110830gitff8e759 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 23 2011 Yanko Kaneti 0.6-3.20110830gitff8e759 +- Preserve man page timestamp on install. + +* Wed Nov 16 2011 Yanko Kaneti 0.6-2.20110830gitff8e759 +- Fixed a typo pointed by the first review. + +* Tue Aug 30 2011 Yanko Kaneti 0.6-1.20110830gitff8e759 +- Attempt at packaging. diff --git a/sources b/sources index 2430a26..9bb6ec9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abootimg-0.6-7e127fe.tar.gz) = 4e9be4394d767c6ca02bad8c8590a028de0c2eff9100b906b2e2f995a1aa5556c41c964ad77ce996002fb8b35d9188ca548649301ad89448698cce600e97828e +e5c2a7abdbcf5f95bd8ee21a5223f43b abootimg-0.6-20110830gitff8e759.tar.gz