Updated to new upstream version.

This commit is contained in:
Domingo Becker 2012-12-24 00:19:19 -03:00
commit 9e9221d215
4 changed files with 29 additions and 9 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/wxpdfdoc-0.9.2.1.tar.gz
/wxpdfdoc-0.9.3.tar.gz

View file

@ -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`

View file

@ -1 +1 @@
c664be9f77cd422e7d6f5034aa93e675 wxpdfdoc-0.9.2.1.tar.gz
0c853fdf7ad19f936431b15e679c0361 wxpdfdoc-0.9.3.tar.gz

View file

@ -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 <domingobecker@gmail.com> - 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 <domingobecker@gmail.com> - 0.9.2.1-4
- Removed BuildRoot definition.
- Removed initial cleaning of buildroot in install section.