From 6f50b877615536908c175e3af3942d61cb71c953 Mon Sep 17 00:00:00 2001 From: Domingo Becker Date: Sun, 28 Oct 2012 11:54:03 -0300 Subject: [PATCH 01/25] Initial import (#730764) --- .gitignore | 1 + GNUmakefile.patch | 25 +++++++++++ sources | 1 + wxpdfdoc.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 GNUmakefile.patch create mode 100644 wxpdfdoc.spec diff --git a/.gitignore b/.gitignore index e69de29..53f3e27 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/wxpdfdoc-0.9.2.1.tar.gz diff --git a/GNUmakefile.patch b/GNUmakefile.patch new file mode 100644 index 0000000..74306b7 --- /dev/null +++ b/GNUmakefile.patch @@ -0,0 +1,25 @@ +--- build/GNUmakefile 2011-09-16 17:22:45.000000000 -0300 ++++ build/GNUmakefile 2012-05-16 14:17:32.763992228 -0300 +@@ -19,6 +19,8 @@ + # Destination root (/ is used if empty) + DESTDIR ?= + ++WXINCLUDEDIR ?= /include/wx-2.8/wx ++ + # + AR ?= ar + +@@ -519,11 +521,9 @@ + ifeq ($(WX_SHARED),1) + install_pdfdoc_dll_headers: + $(INSTALL) -d $(DESTDIR)$(prefix) ++ $(INSTALL) -d $(DESTDIR)$(prefix)$(WXINCLUDEDIR) + for f in $(PDFDOC_DLL_HEADERS); do \ +- if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \ +- $(INSTALL) -d $(DESTDIR)$(prefix)/`dirname $$f`; \ +- fi; \ +- $(INSTALL) -m 644 ../$$f $(DESTDIR)$(prefix)/$$f; \ ++ $(INSTALL) -m 644 ../$$f $(DESTDIR)$(prefix)$(WXINCLUDEDIR); \ + done + endif + diff --git a/sources b/sources index e69de29..04df513 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c664be9f77cd422e7d6f5034aa93e675 wxpdfdoc-0.9.2.1.tar.gz diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec new file mode 100644 index 0000000..bce4713 --- /dev/null +++ b/wxpdfdoc.spec @@ -0,0 +1,110 @@ +Name: wxpdfdoc +Version: 0.9.2.1 +Release: 4%{?dist} +Summary: A library for creating PDF documents in C++ with wxWidgets +Group: System Environment/Libraries +License: wxWidgets +URL: http://wxcode.sourceforge.net/components/wxpdfdoc/ +Source: http://sourceforge.net/projects/wxcode/files/Components/wxPdfDocument/wxpdfdoc-%{version}.tar.gz +Patch: http://beckerde.fedorapeople.org/wxpdfdoc/GNUmakefile.patch +BuildRequires: wxGTK-devel + +%global _wxdir /wx-2.8/wx +%global _inclwxdir /include%{_wxdir} + + +%description +wxPdfDocument allows wxWidgets applications to generate PDF documents. +The code is a port of FPDF - a free PHP class for generating PDF files - +to C++ using the wxWidgets library. Several add-on PHP scripts found on +the FPDF web site are incorporated into wxPdfDocument. Embedding of PNG, +JPEG, GIF and WMF images is supported. In addition to the 14 standard +Adobe fonts it is possible to use other Type1 or TrueType fonts - with +or without embedding them into the generated document. In Unicode build +CJK fonts are supported, too. Graphics primitives allow the creation of +simple drawings. + + +%package devel +Summary: Development files needed for the wxPdfDocument library +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: wxGTK-devel + + +%description devel +wxPdfDocument allows wxWidgets applications to generate PDF documents. +This package contains the development files needed to use the +wxPdfDocument library. + + +%prep +%setup -q +chmod 644 *.txt +chmod 644 docs/* +chmod 755 docs/html +chmod 644 docs/html/* +chmod 644 src/*.cpp src/*.h src/*.inc +chmod 644 include/wx/*.h +sed -i.orig -e 's|$(prefix)/lib|$(prefix)/%{_lib}|g' build/GNUmakefile +%patch + + +%build +echo %{ver} +echo %{ver2} +make -C build all -f GNUmakefile + + +%install +make -C build prefix=$RPM_BUILD_ROOT%{_prefix} install_pdfdoc_dll -f GNUmakefile +make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} install_pdfdoc_dll_headers -f GNUmakefile + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%{_libdir}/libwxcode_gtk2_pdfdoc* +%doc LICENCE.txt Readme.txt docs/* + + +%files devel +%{_includedir}%{_wxdir}/pdf* + + +%changelog +* Sun Oct 28 2012 Domingo Becker - 0.9.2.1-4 +- Removed BuildRoot definition. +- Removed initial cleaning of buildroot in install section. +- Removed clean section. +- Removed defattr lines in files section. + +* Sun Oct 21 2012 Domingo Becker - 0.9.2.1-3 +- Fixed macro in comment warning by removing all unnecessary comments. +- Removed spurious executable permission on source files. + +* Wed May 16 2012 Domingo Becker - 0.9.2.1-2 +- Apply patch to build/GNUmakefile to install headers in the correct directory. + +* Mon May 07 2012 Domingo Becker - 0.9.2.1-1 +- Updated to new upstream version. +- Fixed required base package. +- Group set to System Environment/Libraries. +- Removed gcc-c++ as requires. +- Added wxGTK-devel dependency in -devel package. + +* Tue Aug 16 2011 Domingo Becker - 0.9.1-3 +- Fixed for a proper multilib support. +- devel package requires core package. + +* Tue Aug 16 2011 Domingo Becker - 0.9.1-2 +- Fixed lib64 dir name issue in x86_64 with a patch. + +* Mon Aug 15 2011 Domingo Becker - 0.9.1-1 +- Initial version. + + From 9e9221d2153ca6a42dfd5a810e2cc9cd611f2b9a Mon Sep 17 00:00:00 2001 From: Domingo Becker Date: Mon, 24 Dec 2012 00:19:19 -0300 Subject: [PATCH 02/25] Updated to new upstream version. --- .gitignore | 1 + GNUmakefile.patch | 19 +++++++++++++++---- sources | 2 +- wxpdfdoc.spec | 16 ++++++++++++---- 4 files changed, 29 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 53f3e27..4845df2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /wxpdfdoc-0.9.2.1.tar.gz +/wxpdfdoc-0.9.3.tar.gz diff --git a/GNUmakefile.patch b/GNUmakefile.patch index 74306b7..564dc00 100644 --- a/GNUmakefile.patch +++ b/GNUmakefile.patch @@ -1,6 +1,8 @@ ---- build/GNUmakefile 2011-09-16 17:22:45.000000000 -0300 -+++ build/GNUmakefile 2012-05-16 14:17:32.763992228 -0300 -@@ -19,6 +19,8 @@ +diff --git a/build/GNUmakefile b/build/GNUmakefile +index 207de2b..a781fc2 100755 +--- a/build/GNUmakefile ++++ b/build/GNUmakefile +@@ -19,6 +19,8 @@ prefix ?= /usr/local # Destination root (/ is used if empty) DESTDIR ?= @@ -9,7 +11,7 @@ # AR ?= ar -@@ -519,11 +521,9 @@ +@@ -524,11 +526,9 @@ make_dir_pdfdoc_dll: ifeq ($(WX_SHARED),1) install_pdfdoc_dll_headers: $(INSTALL) -d $(DESTDIR)$(prefix) @@ -23,3 +25,12 @@ done endif +@@ -543,7 +543,7 @@ endif + $(CXX) -o $@ $(MINIMAL_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` + + ../samples/pdfdc/printing: $(DCSAMPLE_OBJECTS) $(__COMPONENT_LIB_DEP) +- $(CXX) -o $@ $(DCSAMPLE_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` ++ $(CXX) -o $@ $(DCSAMPLE_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base,richtext,html` + + ../makefont/makefont: $(MAKEFONT_OBJECTS) $(__COMPONENT_LIB_DEP) + $(CXX) -o $@ $(MAKEFONT_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` diff --git a/sources b/sources index 04df513..e240409 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c664be9f77cd422e7d6f5034aa93e675 wxpdfdoc-0.9.2.1.tar.gz +0c853fdf7ad19f936431b15e679c0361 wxpdfdoc-0.9.3.tar.gz diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index bce4713..4530f2a 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc -Version: 0.9.2.1 -Release: 4%{?dist} +Version: 0.9.3 +Release: 1%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -47,7 +47,8 @@ chmod 644 docs/html/* chmod 644 src/*.cpp src/*.h src/*.inc chmod 644 include/wx/*.h sed -i.orig -e 's|$(prefix)/lib|$(prefix)/%{_lib}|g' build/GNUmakefile -%patch +%patch -p 1 +rm -f docs/Doxyfile %build @@ -69,14 +70,21 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %files %{_libdir}/libwxcode_gtk2_pdfdoc* -%doc LICENCE.txt Readme.txt docs/* +%doc LICENCE.txt %files devel %{_includedir}%{_wxdir}/pdf* +%doc Readme.txt docs/* %changelog +* Mon Dec 24 2012 Domingo Becker - 0.9.3-1 +- Updated to latest upstream version. +- Moved Readme.txt and docs/html to -devel package (Bug #889889). +- Removed Doxyfile from installed package (Bug #889889). +- Updated patch for build/GNUmakefile for the new version and to fix a missing library problem with samples/pdfdc/printing. + * Sun Oct 28 2012 Domingo Becker - 0.9.2.1-4 - Removed BuildRoot definition. - Removed initial cleaning of buildroot in install section. From 6959146a4a59a05e7caac26321dc53ba06ca3ae9 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 21:22:44 -0600 Subject: [PATCH 03/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 4530f2a..32eceab 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -79,6 +79,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Mon Dec 24 2012 Domingo Becker - 0.9.3-1 - Updated to latest upstream version. - Moved Readme.txt and docs/html to -devel package (Bug #889889). From b4885879467a911a8482d515ef9b7da7663ce62d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 02:25:28 -0500 Subject: [PATCH 04/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 32eceab..4fe44c0 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -79,6 +79,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.9.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Fri Feb 15 2013 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From f427caf970f50dcbc6709661b73333f5eac27c01 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 8 Jun 2014 00:02:43 -0500 Subject: [PATCH 05/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 4fe44c0..025caf1 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -79,6 +79,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.9.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 6febec2bd0bc1bfd6d420267eacba0d3ae50bd2b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 09:03:06 +0000 Subject: [PATCH 06/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 025caf1..0cbd7b5 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -79,6 +79,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 0.9.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 0.9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 46a6823f6af1c79969006e83ee2dacb76ec6a2e5 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 02:39:53 +0000 Subject: [PATCH 07/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 0cbd7b5..e1921ce 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -79,6 +79,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.9.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Aug 18 2014 Fedora Release Engineering - 0.9.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From e6a5fde325a214fdc0c1a8fdc9beb7d39b3b8037 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 21 Aug 2015 17:28:54 +0200 Subject: [PATCH 08/25] Pass CXXFLAGS to make (Fix F23TBFS, RHBZ#1240063). - Add %license. --- wxpdfdoc.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index e1921ce..fc8d052 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -54,12 +54,15 @@ rm -f docs/Doxyfile %build echo %{ver} echo %{ver2} -make -C build all -f GNUmakefile +make -C build all \ + -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" %install -make -C build prefix=$RPM_BUILD_ROOT%{_prefix} install_pdfdoc_dll -f GNUmakefile -make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} install_pdfdoc_dll_headers -f GNUmakefile +make -C build prefix=$RPM_BUILD_ROOT%{_prefix} install_pdfdoc_dll \ + -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" +make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} install_pdfdoc_dll_headers \ + -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" %post -p /sbin/ldconfig @@ -70,7 +73,7 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %files %{_libdir}/libwxcode_gtk2_pdfdoc* -%doc LICENCE.txt +%license LICENCE.txt %files devel @@ -79,6 +82,10 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Fri Aug 21 2015 Ralf Corsepius - 0.9.3-7 +- Pass CXXFLAGS to make (Fix F23TBFS, RHBZ#1240063). +- Add %%license. + * Fri Jun 19 2015 Fedora Release Engineering - 0.9.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 01bd4ee5d4b58938ec1c114163f2d00a02146e52 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 03:13:00 +0000 Subject: [PATCH 09/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index fc8d052..97fcd34 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.9.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Aug 21 2015 Ralf Corsepius - 0.9.3-7 - Pass CXXFLAGS to make (Fix F23TBFS, RHBZ#1240063). - Add %%license. From 002b33f17f582fa896989af9c401f1882100a911 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 17:35:42 +0000 Subject: [PATCH 10/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 97fcd34..886fdfc 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.9.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 0.9.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 173a1ca2d5a834123f5ba6ae43e00b3d5caa9f73 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:49:29 +0000 Subject: [PATCH 11/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 886fdfc..8739a2c 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.9.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 0.9.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From bd86d60c5579b7c4ae349cefc16dccc2c785c1a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 10:25:07 +0000 Subject: [PATCH 12/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 8739a2c..e006069 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.9.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 1516806e13a5de86bf269ed6205bcdd8ea2d5caa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 21:14:49 +0000 Subject: [PATCH 13/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index e006069..3fb8baa 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.9.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 0.9.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 79b3d74814a664aff25c1b17517962c73ca324c1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 09:02:52 +0000 Subject: [PATCH 14/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 3fb8baa..15d37d1 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.3 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets Group: System Environment/Libraries License: wxWidgets @@ -82,6 +82,9 @@ make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} instal %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.9.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 0.9.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From aefc5ccfe4fe5d48fa4da36742807d7f0c541629 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 19 Jul 2018 20:56:42 +0200 Subject: [PATCH 15/25] add BuildRequires: gcc-c++ Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- wxpdfdoc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 15d37d1..fa48dd0 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -7,6 +7,7 @@ License: wxWidgets URL: http://wxcode.sourceforge.net/components/wxpdfdoc/ Source: http://sourceforge.net/projects/wxcode/files/Components/wxPdfDocument/wxpdfdoc-%{version}.tar.gz Patch: http://beckerde.fedorapeople.org/wxpdfdoc/GNUmakefile.patch +BuildRequires: gcc-c++ BuildRequires: wxGTK-devel %global _wxdir /wx-2.8/wx From fdf02c0fad75d307d95f67d0aa9683bb6301ccaf Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Wed, 31 Oct 2018 23:39:04 -0400 Subject: [PATCH 16/25] New upstream release 0.9.6 Rebuild with wxWidgets 3.0 --- .gitignore | 1 + sources | 2 +- wxpdfdoc.spec | 73 +++++++++++++++++++++++++-------------------------- 3 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index 4845df2..00655f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /wxpdfdoc-0.9.2.1.tar.gz /wxpdfdoc-0.9.3.tar.gz +/wxpdfdoc-0.9.6.tar.gz diff --git a/sources b/sources index e240409..05ea42b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0c853fdf7ad19f936431b15e679c0361 wxpdfdoc-0.9.3.tar.gz +SHA512 (wxpdfdoc-0.9.6.tar.gz) = 8b4b1dd90c7fd0fcca21ca89384895e04bf6fede48f77582eaf3f178ebe692ab9141f310e28b30db858dbea83afd99fd0200e0d9c6e5aa7605fade7e17f5eada diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index fa48dd0..45a80fa 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,17 +1,18 @@ Name: wxpdfdoc -Version: 0.9.3 -Release: 13%{?dist} +Version: 0.9.6 +Release: 1%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets -Group: System Environment/Libraries License: wxWidgets -URL: http://wxcode.sourceforge.net/components/wxpdfdoc/ -Source: http://sourceforge.net/projects/wxcode/files/Components/wxPdfDocument/wxpdfdoc-%{version}.tar.gz -Patch: http://beckerde.fedorapeople.org/wxpdfdoc/GNUmakefile.patch +URL: https://utelle.github.io/wxpdfdoc/ +Source: https://github.com/utelle/wxpdfdoc/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: wxGTK-devel +BuildRequires: wxGTK3-devel -%global _wxdir /wx-2.8/wx -%global _inclwxdir /include%{_wxdir} +%global _wxdir /wx-3.0/wx +%global build_dir bld %description @@ -28,9 +29,9 @@ simple drawings. %package devel Summary: Development files needed for the wxPdfDocument library -Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: wxGTK-devel +Requires: wxGTK3-devel +Requires: pkgconfig %description devel @@ -40,49 +41,47 @@ wxPdfDocument library. %prep -%setup -q -chmod 644 *.txt -chmod 644 docs/* -chmod 755 docs/html -chmod 644 docs/html/* -chmod 644 src/*.cpp src/*.h src/*.inc -chmod 644 include/wx/*.h -sed -i.orig -e 's|$(prefix)/lib|$(prefix)/%{_lib}|g' build/GNUmakefile -%patch -p 1 -rm -f docs/Doxyfile +%autosetup +autoreconf %build -echo %{ver} -echo %{ver2} -make -C build all \ - -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" +mkdir %{build_dir} +pushd %{build_dir} +ln -s ../configure +%configure --disable-static +%make_build +popd +pushd docs +doxygen Doxyfile +rm Doxyfile +popd %install -make -C build prefix=$RPM_BUILD_ROOT%{_prefix} install_pdfdoc_dll \ - -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" -make -C build prefix=$RPM_BUILD_ROOT%{_prefix} WXINCLUDEDIR=%{_inclwxdir} install_pdfdoc_dll_headers \ - -f GNUmakefile CXXFLAGS="${RPM_OPT_FLAGS}" - - -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig +pushd %{build_dir} +%make_install includewxdir=%{_includedir}%{_wxdir} +popd +rm -f %{buildroot}/%{_libdir}/*.la %files -%{_libdir}/libwxcode_gtk2_pdfdoc* +%{_libdir}/libwxcode_gtk3u_pdfdoc-3.0.so.* %license LICENCE.txt %files devel %{_includedir}%{_wxdir}/pdf* -%doc Readme.txt docs/* +%{_libdir}/libwxcode_gtk3u_pdfdoc-3.0.so +%{_libdir}/pkgconfig/wxpdfdoc.pc +%doc readme.md docs/* %changelog +* Wed Oct 31 2018 Scott Talbert - 0.9.6-1 +- New upstream release 0.9.6 +- Rebuild with wxWidgets 3.0 + * Sat Jul 14 2018 Fedora Release Engineering - 0.9.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From b4a08ec2991d510559dbe4acad985e1fbd9f0a8c Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 24 Jan 2019 22:56:11 -0500 Subject: [PATCH 17/25] New upstream release 0.9.7 --- .gitignore | 1 + sources | 2 +- wxpdfdoc.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 00655f3..97a1a73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /wxpdfdoc-0.9.2.1.tar.gz /wxpdfdoc-0.9.3.tar.gz /wxpdfdoc-0.9.6.tar.gz +/wxpdfdoc-0.9.7.tar.gz diff --git a/sources b/sources index 05ea42b..01f52f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wxpdfdoc-0.9.6.tar.gz) = 8b4b1dd90c7fd0fcca21ca89384895e04bf6fede48f77582eaf3f178ebe692ab9141f310e28b30db858dbea83afd99fd0200e0d9c6e5aa7605fade7e17f5eada +SHA512 (wxpdfdoc-0.9.7.tar.gz) = eeb1201997373b2109139de9f7579399971e6642bb5def148aeb7899ad424b8599fb921e6d599e41350a3d0d51b325a62cb2e6c8dba2c39ff5a585d08311c0c6 diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 45a80fa..5c2645e 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,5 +1,5 @@ Name: wxpdfdoc -Version: 0.9.6 +Version: 0.9.7 Release: 1%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets @@ -78,6 +78,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Fri Jan 25 2019 Scott Talbert - 0.9.7-1 +- New upstream release 0.9.7 + * Wed Oct 31 2018 Scott Talbert - 0.9.6-1 - New upstream release 0.9.6 - Rebuild with wxWidgets 3.0 From 94c077cb5cf688ed47789b4fdb42fa956749cc7b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 12:01:10 +0000 Subject: [PATCH 18/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 5c2645e..e75d182 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -78,6 +78,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.9.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jan 25 2019 Scott Talbert - 0.9.7-1 - New upstream release 0.9.7 From a0c3bef471bf77f7aa67f024c1289400fce84425 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:48:02 +0000 Subject: [PATCH 19/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index e75d182..f97ce14 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -78,6 +78,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.9.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 0.9.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 8a67ab11d1e224bb566ae258945c0ead7e049f20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 04:01:40 +0000 Subject: [PATCH 20/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index f97ce14..e070c1c 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -78,6 +78,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.9.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.9.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From ab813fa3d325aeed8bec1a4f1ebb63ab1a25efba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:23:50 +0000 Subject: [PATCH 21/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index e070c1c..1941829 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -78,6 +78,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.9.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 10b8de07380ab5e289ece56c1435ba409df28d8e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 01:04:19 +0000 Subject: [PATCH 22/25] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- wxpdfdoc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 1941829..48444f1 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -5,6 +5,7 @@ Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ Source: https://github.com/utelle/wxpdfdoc/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: make BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen From c5b80fd6b521cf099f73fa241fc0999065b51aef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:44:23 +0000 Subject: [PATCH 23/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 48444f1..8c76eb8 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -79,6 +79,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.9.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 572be6780338495315f216ce34a056f18a6222d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 21:13:07 +0000 Subject: [PATCH 24/25] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wxpdfdoc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec index 8c76eb8..921e8f6 100644 --- a/wxpdfdoc.spec +++ b/wxpdfdoc.spec @@ -1,6 +1,6 @@ Name: wxpdfdoc Version: 0.9.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A library for creating PDF documents in C++ with wxWidgets License: wxWidgets URL: https://utelle.github.io/wxpdfdoc/ @@ -79,6 +79,9 @@ rm -f %{buildroot}/%{_libdir}/*.la %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.9.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 0.9.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 51adcb9c3a7a4f027048f38108b5d066d5205951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Dec 2021 21:40:54 +0100 Subject: [PATCH 25/25] Orphaned for 6+ weeks --- .gitignore | 4 -- GNUmakefile.patch | 36 ---------- dead.package | 1 + sources | 1 - wxpdfdoc.spec | 180 ---------------------------------------------- 5 files changed, 1 insertion(+), 221 deletions(-) delete mode 100644 .gitignore delete mode 100644 GNUmakefile.patch create mode 100644 dead.package delete mode 100644 sources delete mode 100644 wxpdfdoc.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 97a1a73..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/wxpdfdoc-0.9.2.1.tar.gz -/wxpdfdoc-0.9.3.tar.gz -/wxpdfdoc-0.9.6.tar.gz -/wxpdfdoc-0.9.7.tar.gz diff --git a/GNUmakefile.patch b/GNUmakefile.patch deleted file mode 100644 index 564dc00..0000000 --- a/GNUmakefile.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/build/GNUmakefile b/build/GNUmakefile -index 207de2b..a781fc2 100755 ---- a/build/GNUmakefile -+++ b/build/GNUmakefile -@@ -19,6 +19,8 @@ prefix ?= /usr/local - # Destination root (/ is used if empty) - DESTDIR ?= - -+WXINCLUDEDIR ?= /include/wx-2.8/wx -+ - # - AR ?= ar - -@@ -524,11 +526,9 @@ make_dir_pdfdoc_dll: - ifeq ($(WX_SHARED),1) - install_pdfdoc_dll_headers: - $(INSTALL) -d $(DESTDIR)$(prefix) -+ $(INSTALL) -d $(DESTDIR)$(prefix)$(WXINCLUDEDIR) - for f in $(PDFDOC_DLL_HEADERS); do \ -- if test ! -d $(DESTDIR)$(prefix)/`dirname $$f` ; then \ -- $(INSTALL) -d $(DESTDIR)$(prefix)/`dirname $$f`; \ -- fi; \ -- $(INSTALL) -m 644 ../$$f $(DESTDIR)$(prefix)/$$f; \ -+ $(INSTALL) -m 644 ../$$f $(DESTDIR)$(prefix)$(WXINCLUDEDIR); \ - done - endif - -@@ -543,7 +543,7 @@ endif - $(CXX) -o $@ $(MINIMAL_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` - - ../samples/pdfdc/printing: $(DCSAMPLE_OBJECTS) $(__COMPONENT_LIB_DEP) -- $(CXX) -o $@ $(DCSAMPLE_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` -+ $(CXX) -o $@ $(DCSAMPLE_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base,richtext,html` - - ../makefont/makefont: $(MAKEFONT_OBJECTS) $(__COMPONENT_LIB_DEP) - $(CXX) -o $@ $(MAKEFONT_OBJECTS) $(VAR_7) -L../lib $(LDFLAGS) $(__COMPONENT_LIB_LIBR) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs xml,core,base` diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 01f52f8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (wxpdfdoc-0.9.7.tar.gz) = eeb1201997373b2109139de9f7579399971e6642bb5def148aeb7899ad424b8599fb921e6d599e41350a3d0d51b325a62cb2e6c8dba2c39ff5a585d08311c0c6 diff --git a/wxpdfdoc.spec b/wxpdfdoc.spec deleted file mode 100644 index 921e8f6..0000000 --- a/wxpdfdoc.spec +++ /dev/null @@ -1,180 +0,0 @@ -Name: wxpdfdoc -Version: 0.9.7 -Release: 7%{?dist} -Summary: A library for creating PDF documents in C++ with wxWidgets -License: wxWidgets -URL: https://utelle.github.io/wxpdfdoc/ -Source: https://github.com/utelle/wxpdfdoc/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: make -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: doxygen -BuildRequires: gcc-c++ -BuildRequires: wxGTK3-devel - -%global _wxdir /wx-3.0/wx -%global build_dir bld - - -%description -wxPdfDocument allows wxWidgets applications to generate PDF documents. -The code is a port of FPDF - a free PHP class for generating PDF files - -to C++ using the wxWidgets library. Several add-on PHP scripts found on -the FPDF web site are incorporated into wxPdfDocument. Embedding of PNG, -JPEG, GIF and WMF images is supported. In addition to the 14 standard -Adobe fonts it is possible to use other Type1 or TrueType fonts - with -or without embedding them into the generated document. In Unicode build -CJK fonts are supported, too. Graphics primitives allow the creation of -simple drawings. - - -%package devel -Summary: Development files needed for the wxPdfDocument library -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: wxGTK3-devel -Requires: pkgconfig - - -%description devel -wxPdfDocument allows wxWidgets applications to generate PDF documents. -This package contains the development files needed to use the -wxPdfDocument library. - - -%prep -%autosetup -autoreconf - - -%build -mkdir %{build_dir} -pushd %{build_dir} -ln -s ../configure -%configure --disable-static -%make_build -popd -pushd docs -doxygen Doxyfile -rm Doxyfile -popd - - -%install -pushd %{build_dir} -%make_install includewxdir=%{_includedir}%{_wxdir} -popd -rm -f %{buildroot}/%{_libdir}/*.la - - -%files -%{_libdir}/libwxcode_gtk3u_pdfdoc-3.0.so.* -%license LICENCE.txt - - -%files devel -%{_includedir}%{_wxdir}/pdf* -%{_libdir}/libwxcode_gtk3u_pdfdoc-3.0.so -%{_libdir}/pkgconfig/wxpdfdoc.pc -%doc readme.md docs/* - - -%changelog -* Fri Jul 23 2021 Fedora Release Engineering - 0.9.7-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 0.9.7-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.9.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.9.7-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.9.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 0.9.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jan 25 2019 Scott Talbert - 0.9.7-1 -- New upstream release 0.9.7 - -* Wed Oct 31 2018 Scott Talbert - 0.9.6-1 -- New upstream release 0.9.6 -- Rebuild with wxWidgets 3.0 - -* Sat Jul 14 2018 Fedora Release Engineering - 0.9.3-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.9.3-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.9.3-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.9.3-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.9.3-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 0.9.3-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Aug 21 2015 Ralf Corsepius - 0.9.3-7 -- Pass CXXFLAGS to make (Fix F23TBFS, RHBZ#1240063). -- Add %%license. - -* Fri Jun 19 2015 Fedora Release Engineering - 0.9.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 0.9.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.9.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.9.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Feb 15 2013 Fedora Release Engineering - 0.9.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Mon Dec 24 2012 Domingo Becker - 0.9.3-1 -- Updated to latest upstream version. -- Moved Readme.txt and docs/html to -devel package (Bug #889889). -- Removed Doxyfile from installed package (Bug #889889). -- Updated patch for build/GNUmakefile for the new version and to fix a missing library problem with samples/pdfdc/printing. - -* Sun Oct 28 2012 Domingo Becker - 0.9.2.1-4 -- Removed BuildRoot definition. -- Removed initial cleaning of buildroot in install section. -- Removed clean section. -- Removed defattr lines in files section. - -* Sun Oct 21 2012 Domingo Becker - 0.9.2.1-3 -- Fixed macro in comment warning by removing all unnecessary comments. -- Removed spurious executable permission on source files. - -* Wed May 16 2012 Domingo Becker - 0.9.2.1-2 -- Apply patch to build/GNUmakefile to install headers in the correct directory. - -* Mon May 07 2012 Domingo Becker - 0.9.2.1-1 -- Updated to new upstream version. -- Fixed required base package. -- Group set to System Environment/Libraries. -- Removed gcc-c++ as requires. -- Added wxGTK-devel dependency in -devel package. - -* Tue Aug 16 2011 Domingo Becker - 0.9.1-3 -- Fixed for a proper multilib support. -- devel package requires core package. - -* Tue Aug 16 2011 Domingo Becker - 0.9.1-2 -- Fixed lib64 dir name issue in x86_64 with a patch. - -* Mon Aug 15 2011 Domingo Becker - 0.9.1-1 -- Initial version. - -