diff --git a/.gitignore b/.gitignore index e2b92f8..0c41f68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -xchm-1.17.tar.gz -/xchm-1.19.tar.gz -/xchm-1.20.tar.gz -/xchm-1.21.tar.gz -/xchm-1.22.tar.gz -/xchm-1.23.tar.gz -/xchm-1.33.tar.gz +/xchm-*.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..b54f174 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,22 @@ +specfile_path: xchm.spec +upstream_package_name: xCHM +downstream_package_name: xchm +upstream_project_url: https://github.com/rzvncj/xCHM + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-stable + - fedora-rawhide + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-stable + - fedora-rawhide + + - job: bodhi_update + trigger: koji_build_tag + dist_git_branches: + - fedora-stable diff --git a/changelog b/changelog new file mode 100644 index 0000000..7558976 --- /dev/null +++ b/changelog @@ -0,0 +1,167 @@ +* Sat Jul 22 2023 Fedora Release Engineering - 1.35-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Feb 06 2023 Yaakov Selkowitz - 1.35-1 +- Update to 1.35 + +* Sun Feb 05 2023 Yaakov Selkowitz - 1.34-1 +- Update to 1.34 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.33-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 23 2022 Yaakov Selkowitz - 1.33-1 +- Update to 1.33 +- Modernize spec + +* Thu Aug 04 2022 Scott Talbert - 1.23-23 +- Rebuild with wxWidgets 3.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.23-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 1.23-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.23-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.23-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.23-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1.23-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 1.23-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 1.23-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Aug 22 2018 Scott Talbert - 1.23-14 +- Rebuild with wxWidgets 3.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.23-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.23-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 18 2018 Igor Gnatenko - 1.23-11 +- Remove obsolete scriptlets + +* Thu Aug 03 2017 Fedora Release Engineering - 1.23-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.23-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.23-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 1.23-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.23-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 1.23-5 +- Rebuilt for GCC 5 C++11 ABI change + +* Mon Aug 18 2014 Fedora Release Engineering - 1.23-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.23-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Jan 26 2014 manuel "lonely wolf" wolfshant - 1.23-2 +- Adjust version required for wxGTK and fixed "bogus date in %%changelog" + +* Mon Sep 02 2013 manuel "lonely wolf" wolfshant - 1.23-1 +- New upstream version + +* Sun Aug 04 2013 Fedora Release Engineering - 1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Mar 23 2013 manuel "lonely wolf" wolfshant - 1.22-1 +- New upstream version +- Use newer autoconf in order to support ARM64 + +* Sun Feb 10 2013 Parag Nemade - 1.21-2 +- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 + +* Mon Nov 26 2012 Manuel "lonely wolf" Wolfshant - 1.21-1 +- New upstream version + +* Sun Jul 22 2012 Fedora Release Engineering - 1.20-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri May 6 2011 Manuel "lonely wolf" Wolfshant - 1.20-1 +- New upstream version, fixes #701827 + +* Mon Feb 07 2011 Fedora Release Engineering - 1.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 14 2010 Dan Horák - 1.17-3 +- rebuilt against wxGTK-2.8.11-2 + +* Mon Jul 27 2009 Fedora Release Engineering - 1.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jul 8 2009 Manuel "lonely wolf" Wolfshant - 1.17-1 +- Version update. + +* Thu Feb 26 2009 Fedora Release Engineering - 1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Mar 1 2008 Patrice Dumas 1.14-1 +- update to 1.14. Remove upstreamed gcc 4.3 patch + +* Sat Jan 5 2008 Patrice Dumas 1.13-2 +- fixes for gcc 4.3 + +* Wed Aug 8 2007 Patrice Dumas 1.13-1 +- update to 1.13 + +* Sun Dec 17 2006 Patrice Dumas 1.10-2 +- rebuild for wxGTK-2.8.0 + +* Wed Nov 22 2006 Patrice Dumas 1.10-1 +- update to 1.10 + +* Thu Oct 05 2006 Christian Iseli 1.9-6 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Mon Sep 25 2006 Patrice Dumas 1.9-5 +- install the icon for the chm file type + +* Sun Sep 24 2006 Patrice Dumas 1.9-4 +- add a MimeType entry in desktop file. Fix #207833 + +* Sat Sep 23 2006 Patrice Dumas 1.9-3 +- install icons in %%{_datadir}/icons/ instead of %%{_datadir}/pixmaps/ + fix #207759 + +* Tue Sep 12 2006 Patrice Dumas 1.9-2 +- rebuild for FC6 + +* Fri Jun 2 2006 Patrice Dumas 1.9-1 +- update to 1.9 + +* Fri Jun 2 2006 Patrice Dumas 1.8-1 +- update to 1.8 + +* Thu Mar 9 2006 Patrice Dumas 1.4-3 +- update to 1.4 + +* Mon Dec 05 2005 Peter Lemenkov 1.2-1 +- Version 1.2 + +* Mon Mar 21 2005 Nick Soracco +- Initial RPM release. Complementing the faderbox.org package. diff --git a/sources b/sources index 3363460..2090e37 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xchm-1.33.tar.gz) = 06f5c191ef9f2c608259261839d6641f202a21150a6622b8162e06e3cc857802390f551dcef47f25d048b3d407511c5a8cc6aabd3003942006847366ebb08989 +SHA512 (xchm-1.39.tar.gz) = b480b90fb5e289bee86122c273b4f0ca9322045552b24639087b7173bb84c2e5b08fc7cf2ffb09cf5727c18739167576c4fb6595733cffd582f73b6300dc4f01 diff --git a/xchm.spec b/xchm.spec index 9e18e53..5854099 100644 --- a/xchm.spec +++ b/xchm.spec @@ -1,203 +1,49 @@ Summary: A GUI front-end to CHMlib Name: xchm -Version: 1.33 -Release: 1%{?dist} -License: GPLv2+ +Version: 1.39 +Release: %autorelease +License: GPL-2.0-or-later URL: https://github.com/rzvncj/xCHM -Source0: %{url}/releases/download/%{version}/xchm-%{version}.tar.gz +Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz -BuildRequires: make -BuildRequires: gcc-c++ -BuildRequires: gcc BuildRequires: chmlib-devel -BuildRequires: wxGTK-devel BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: libappstream-glib +BuildRequires: make +BuildRequires: wxGTK-devel %description -xCHM is a wxWidgets-based .chm viewer. xCHM can show the contents tree if -one is available, print the displayed page, change fonts faces and size, -work with bookmarks, do the usual history stunts (forward, back, home), -provide a searchable index and seach for text in the whole book. The -search is a fast B-tree search, based on the internal $FIftiMain file -found inside indexed .chm archives, and it can be customized to search in +xCHM is a wxWidgets-based .chm viewer. xCHM can show the contents tree if +one is available, print the displayed page, change fonts faces and size, +work with bookmarks, do the usual history stunts (forward, back, home), +provide a searchable index and seach for text in the whole book. The +search is a fast B-tree search, based on the internal $FIftiMain file +found inside indexed .chm archives, and it can be customized to search in content or just the topics' titles. %prep %autosetup %build -%configure --disable-dependency-tracking +%configure %make_build %install %make_install -desktop-file-validate %{buildroot}%{_datadir}/applications/xchm.desktop -appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/xchm.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml %find_lang %{name} %files -f %{name}.lang -%doc ChangeLog README -%license AUTHORS COPYING -%{_bindir}/xchm -%{_datadir}/applications/xchm.desktop -%{_datadir}/icons/hicolor/*/apps/xchm* -%{_datadir}/metainfo/xchm.appdata.xml -%{_mandir}/man1/xchm.1* +%doc AUTHORS ChangeLog README +%license COPYING +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}* +%{_datadir}/metainfo/%{name}.appdata.xml +%{_mandir}/man1/%{name}.1* %changelog -* Wed Nov 23 2022 Yaakov Selkowitz - 1.33-1 -- Update to 1.33 -- Modernize spec - -* Thu Aug 04 2022 Scott Talbert - 1.23-23 -- Rebuild with wxWidgets 3.2 - -* Sat Jul 23 2022 Fedora Release Engineering - 1.23-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.23-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.23-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.23-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.23-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.23-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 1.23-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 1.23-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Aug 22 2018 Scott Talbert - 1.23-14 -- Rebuild with wxWidgets 3.0 - -* Sat Jul 14 2018 Fedora Release Engineering - 1.23-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.23-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 18 2018 Igor Gnatenko - 1.23-11 -- Remove obsolete scriptlets - -* Thu Aug 03 2017 Fedora Release Engineering - 1.23-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.23-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.23-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.23-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.23-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 1.23-5 -- Rebuilt for GCC 5 C++11 ABI change - -* Mon Aug 18 2014 Fedora Release Engineering - 1.23-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 1.23-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Jan 26 2014 manuel "lonely wolf" wolfshant - 1.23-2 -- Adjust version required for wxGTK and fixed "bogus date in %%changelog" - -* Mon Sep 02 2013 manuel "lonely wolf" wolfshant - 1.23-1 -- New upstream version - -* Sun Aug 04 2013 Fedora Release Engineering - 1.22-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Mar 23 2013 manuel "lonely wolf" wolfshant - 1.22-1 -- New upstream version -- Use newer autoconf in order to support ARM64 - -* Sun Feb 10 2013 Parag Nemade - 1.21-2 -- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - -* Mon Nov 26 2012 Manuel "lonely wolf" Wolfshant - 1.21-1 -- New upstream version - -* Sun Jul 22 2012 Fedora Release Engineering - 1.20-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.20-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Fri May 6 2011 Manuel "lonely wolf" Wolfshant - 1.20-1 -- New upstream version, fixes #701827 - -* Mon Feb 07 2011 Fedora Release Engineering - 1.17-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jul 14 2010 Dan Horák - 1.17-3 -- rebuilt against wxGTK-2.8.11-2 - -* Mon Jul 27 2009 Fedora Release Engineering - 1.17-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Jul 8 2009 Manuel "lonely wolf" Wolfshant - 1.17-1 -- Version update. - -* Thu Feb 26 2009 Fedora Release Engineering - 1.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Mar 1 2008 Patrice Dumas 1.14-1 -- update to 1.14. Remove upstreamed gcc 4.3 patch - -* Sat Jan 5 2008 Patrice Dumas 1.13-2 -- fixes for gcc 4.3 - -* Wed Aug 8 2007 Patrice Dumas 1.13-1 -- update to 1.13 - -* Sun Dec 17 2006 Patrice Dumas 1.10-2 -- rebuild for wxGTK-2.8.0 - -* Wed Nov 22 2006 Patrice Dumas 1.10-1 -- update to 1.10 - -* Thu Oct 05 2006 Christian Iseli 1.9-6 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Mon Sep 25 2006 Patrice Dumas 1.9-5 -- install the icon for the chm file type - -* Sun Sep 24 2006 Patrice Dumas 1.9-4 -- add a MimeType entry in desktop file. Fix #207833 - -* Sat Sep 23 2006 Patrice Dumas 1.9-3 -- install icons in %%{_datadir}/icons/ instead of %%{_datadir}/pixmaps/ - fix #207759 - -* Tue Sep 12 2006 Patrice Dumas 1.9-2 -- rebuild for FC6 - -* Fri Jun 2 2006 Patrice Dumas 1.9-1 -- update to 1.9 - -* Fri Jun 2 2006 Patrice Dumas 1.8-1 -- update to 1.8 - -* Thu Mar 9 2006 Patrice Dumas 1.4-3 -- update to 1.4 - -* Mon Dec 05 2005 Peter Lemenkov 1.2-1 -- Version 1.2 - -* Mon Mar 21 2005 Nick Soracco -- Initial RPM release. Complementing the faderbox.org package. +%autochangelog