commit pdftk for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2020-10-27 19:00:10

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new.3463 (New)


Package is "pdftk"

Tue Oct 27 19:00:10 2020 rev:2 rq:844220 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2020-08-18 
13:54:52.130108884 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new.3463/pdftk.changes2020-10-27 
19:00:57.490831128 +0100
@@ -1,0 +2,16 @@
+Tue Oct 27 07:05:52 UTC 2020 - Paolo Stivanin 
+
+- Update to 3.2.1:
+ - Added:
+  - Allow specifying attachment metadata
+  - Support AES encryption
+ - Changed:
+  - Attachments compatible with PDF/A-3u
+  - Default encryption AES-128
+ - Fixed:
+  - Regression: allow reading background/stamp from stdin
+  - Crash with incomplete files
+  - Crash with invalid forms
+  - Flatten form fields in order
+
+---

Old:

  pdftk-v3.1.3.tar.bz2

New:

  pdftk-v3.2.1.tar.bz2



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.WdEW16/_old  2020-10-27 19:01:00.690833456 +0100
+++ /var/tmp/diff_new_pack.WdEW16/_new  2020-10-27 19:01:00.690833456 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   pdftk
-Version:3.1.3
+Version:3.2.1
 Release:0
 Summary:A handy tool for manipulating PDF
 License:GPL-2.0-or-later

++ pdftk-v3.1.3.tar.bz2 -> pdftk-v3.2.1.tar.bz2 ++
 6085 lines of diff (skipped)




commit pdftk for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2017-09-25 14:00:07

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is "pdftk"

Mon Sep 25 14:00:07 2017 rev:22 rq:528546 version:2.02

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2017-06-07 
09:55:13.460370984 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2017-09-25 
14:00:09.380588500 +0200
@@ -1,0 +2,6 @@
+Sun Sep 24 22:19:05 UTC 2017 - seife+...@b1-systems.com
+
+- remove -fstack-clash-protection from optflags, gcc6 does choke
+  on this parameter
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.hJcT7t/_old  2017-09-25 14:00:10.224469769 +0200
+++ /var/tmp/diff_new_pack.hJcT7t/_new  2017-09-25 14:00:10.228469207 +0200
@@ -107,7 +107,9 @@
 %__chmod 644 changelog.txt license_gpl_pdftk/*.txt license_gpl_pdftk/*/*.txt
 
 %build
-%__make -C pdftk CXXFLAGS="%optflags" GCJFLAGS="$(echo " %optflags" | sed 's/ 
-D/ -Wp,-D/g')" GXXV=%gxxv
+## gcc-6 does not know -fstack-clash-protection
+OPTFLAGS="`echo %optflags| sed 's/-fstack-clash-protection//'`"
+%__make -C pdftk CXXFLAGS="$OPTFLAGS" GCJFLAGS="$(echo " $OPTFLAGS" | sed 's/ 
-D/ -Wp,-D/g')" VERSUFF=%gxxv
 
 %install
 %__install -Dm 0755 pdftk/%name %{buildroot}%{_bindir}/%name





commit pdftk for openSUSE:Factory

2017-06-07 Thread root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2017-06-07 09:55:12

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is "pdftk"

Wed Jun  7 09:55:12 2017 rev:21 rq:501067 version:2.02

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2014-04-09 
19:09:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2017-06-07 
09:55:13.460370984 +0200
@@ -1,0 +2,5 @@
+Sun Jun  4 16:32:16 UTC 2017 - seife+...@b1-systems.com
+
+- require gcc*-6 because gcc7 dropped gcj
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.zh2kEA/_old  2017-06-07 09:55:14.212264731 +0200
+++ /var/tmp/diff_new_pack.zh2kEA/_new  2017-06-07 09:55:14.212264731 +0200
@@ -46,6 +46,12 @@
 %define gxxv -4.3
 %endif
 
+%if 0%{?suse_version} >= 1330
+# gcc7 no longer has gcj?
+%define pkgv 6
+%define gxxv -6
+%endif
+
 BuildRequires:  gcc%{pkgv}-c++
 BuildRequires:  gcc%{pkgv}-java
 
@@ -55,7 +61,12 @@
 BuildRequires:  libgcj%{pkgv}
 %endif
 
+# should only trigger on SLES11 or 11.0, combined with the pkgv=43 above
+%if 0%{?suse_version} < 1330
 BuildRequires:  libgcj%{pkgv}-devel
+%else
+BuildRequires:  libgcj-devel
+%endif
 
 # java-gcj was separated from gcj-java after 10.0
 %if 0%{suse_version} > 1000





commit pdftk for openSUSE:Factory

2014-04-09 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2014-04-09 19:09:41

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2014-01-15 
16:26:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2014-04-09 
19:09:42.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr  9 10:57:31 UTC 2014 - sch...@suse.de
+
+- Don't strip the binary
+- Use %optflags also for gcj
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.OTvUgr/_old  2014-04-09 19:09:43.0 +0200
+++ /var/tmp/diff_new_pack.OTvUgr/_new  2014-04-09 19:09:43.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pdftk
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2012-2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -96,8 +96,7 @@
 %__chmod 644 changelog.txt license_gpl_pdftk/*.txt license_gpl_pdftk/*/*.txt
 
 %build
-%__make -C pdftk CXXFLAGS=%optflags GXXV=%gxxv
-%__strip pdftk/%name
+%__make -C pdftk CXXFLAGS=%optflags GCJFLAGS=$(echo  %optflags | sed 's/ 
-D/ -Wp,-D/g') GXXV=%gxxv
 
 %install
 %__install -Dm 0755 pdftk/%name %{buildroot}%{_bindir}/%name


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2014-01-15 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2014-01-15 16:26:07

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2013-11-02 
09:06:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2014-01-15 
16:26:08.0 +0100
@@ -1,0 +2,5 @@
+Mon Jan 13 2014 - br...@aljex.com
+
+- Remove obsolete references to %%jarv  $LIBGCJ from .spec
+  
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.etwbNw/_old  2014-01-15 16:26:08.0 +0100
+++ /var/tmp/diff_new_pack.etwbNw/_new  2014-01-15 16:26:08.0 +0100
@@ -30,13 +30,15 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  unzip
 
+# There is a stack of fall-through logic from here to %%description.
+# Be careful inserting stuff in here as order matters.
+
 # BuildRequires package version suffix : 41 for gcc41-java
 %define pkgv %nil
 # gcc/gcj binaries version suffix : -4.1 for gcj-4.1
 %define gxxv %nil
 
 # openSUSE 11.0 and SLE_11 are odd cases.
-# %jarv is still correct from above for both
 %if 0%{?suse_version} == 1100 || 0%{?sles_version} == 11
 # Nothing provides libgcj
 %define pkgv 43
@@ -46,13 +48,16 @@
 
 BuildRequires:  gcc%{pkgv}-c++
 BuildRequires:  gcc%{pkgv}-java
+
+# Unversioned libgcj does not exist after 12.2,
+# but libgcj-devel pulls in libgcj$VERSION
 %if 0%{suse_version}  1230
-# in 12.2, no libgcj is available anymore, and libgcj-devel pulls in 
libgcj$VERSION anyway
 BuildRequires:  libgcj%{pkgv}
 %endif
+
 BuildRequires:  libgcj%{pkgv}-devel
 
-# after 10.0 java-gcj was separated from gcj-java
+# java-gcj was separated from gcj-java after 10.0
 %if 0%{suse_version}  1000
 BuildRequires:  java-gcj
 %endif
@@ -91,7 +96,7 @@
 %__chmod 644 changelog.txt license_gpl_pdftk/*.txt license_gpl_pdftk/*/*.txt
 
 %build
-%__make -C pdftk CXXFLAGS=%optflags LIBGCJ= GXXV=%gxxv
+%__make -C pdftk CXXFLAGS=%optflags GXXV=%gxxv
 %__strip pdftk/%name
 
 %install


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2013-11-02 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2013-11-02 09:06:16

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2013-02-12 
22:32:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2013-11-02 
09:06:18.0 +0100
@@ -1,0 +2,77 @@
+Fri Aug 02 2013 - joerg.loren...@ki.tng.de
+
+- update to version 2.02
+  o Added drop_xmp output option for removing the document XMP metadata
+stream from a PDF.
+  o Added dump_data output of custom page data embedded by STAMPtk
+tool. See the embed option in STAMPtk for more information.
+  o Improved PDF bookmark merging logic so it can handle more input
+cases.
+  o Fixed a password bug where some 'upper-ASCII' characters weren't
+being mapped to the correct code points.
+  o Fixed a 40-bit decryption bug introduced in version 2.00.
+  o Fixed a bug in the bookmark merging logic that caused bookmarks to
+be omitted from the merged PDF.
+  o Added a test to ensure that encryption passwords use permitted
+characters only. (Decryption attempts still allow a larger set of
+input characters.)
+  o Rewrote the wide-to-utf8 code for Windows to make it more rigorous.
+  o Organized our calls of JvInitClass() in main().
+  o Added descriptions to some exception reports.
+  o Reviewed some code from pdftk.cc, PdfReader.java, PdfWriter.java
+and friends.
+---
+Thu Jun 06 2013 - joerg.loren...@ki.tng.de
+
+- update to version 2.01
+  o Fixed an uncompress bug introduced in 2.00 that corrupted some
+image streams.
+  o Updated the Windows pdftk.exe compiler settings to remedy an
+elusive NullPointerException reported in the field. This problem
+first appeared in version 2.00.
+---
+Sat May 25 2013 - joerg.loren...@ki.tng.de
+
+- update to version 2.00
+  o Added AES decryption of input PDFs. The 'owner' password is still
+required when decrypting any PDF.
+  o Added merging of bookmarks/outlines when merging full PDFs.
+  o Added new rotate operation, which is a convenient way of rotating
+select pages of a single PDF.
+  o Added new dump_data_annots operation. Currently it reports only
+link annotation information.
+  o Added new need_appearances output option. Use this when filling a
+form with non-ASCII text to ensure the best presentation in Adobe
+Reader/Acrobat. It won't work when combined with the flatten
+option.
+  o Improved the compress option so that output PDFs are more compact
+and efficient.
+  o Added page media information to dump_data output: page rotation,
+page media bounds and page crop bounds.
+  o Improved the performance of dump_data so it works better with very
+large PDFs.
+  o Improved the memory management in the Windows binary. This fixes
+the rare Too many heap sections error.
+  o Fixed a bug where form fields with multiple values were not being
+properly reported by dump_data_fields.
+  o Fixed a_burst_bug that was corrupting the output PDF pages.
+  o Fixed an_input_bug to allow interactive prompting of both the user
+and owner passwords.
+  o Fixed a burst bug so that doc_data.txt is now output to the same
+directory as the PDF's pages when an output directory is given.
+  o Fixed a bug where indirect references to the PDF ID in the trailer
+would cause a crash.
+  o Added a test to fill_form so it checks that an input PDF is a form
+before trying to fill it with data.
+  o Added a return value of 3 for warnings 'PDF information not added'
+or 'PDF form not filled.'
+  o Improved the error message for cat page range errors.
+  o Fixed the error report when an input page number is out of range.
+  o Fixed a burst bug where document metadata wasn't being copied
+properly to the output PDFs.
+  o Updated the Bouncy Castle library to 1.48.
+  o When using the cat operation, the output PDF version number is now
+set to the maximum PDF version of all of the input PDFs. If any of
+the input PDFs have PDF extension levels, then the greatest
+extension level is also copied to the output PDF.
+---

Old:

  pdftk-1.45-src.zip

New:

  pdftk-2.02-src.zip



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.fbcRT7/_old  2013-11-02 09:06:19.0 +0100
+++ /var/tmp/diff_new_pack.fbcRT7/_new  2013-11-02 09:06:19.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:  

commit pdftk for openSUSE:Factory

2013-02-12 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2013-02-12 22:32:14

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk, Maintainer is thomas.schrai...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2013-01-03 
19:40:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2013-02-12 
22:32:16.0 +0100
@@ -1,0 +2,22 @@
+Wed Feb  6 10:35:12 UTC 2013 - seife+...@b1-systems.com
+
+- update to version 1.45
+  o You can now add or change a PDF's bookmarks using update_info.
+  o Added record delimiters to dump_data output to help make parsing
+more reliable.
+  o The changes to dump_data output (described above) are also now
+required for the input to update_info.
+  o You can now use multi-character input handles. Prior versions were
+limited to a single character, imposing an arbitrary limitation on
+the number of input PDFs when using handles. Handles still must be
+all upper-case ASCII.
+  o Added means of referring to PDF pages in reverse order. By
+prefixing a page number with an r, it counts from the end of the
+document. For example, r1 is the last page, r2 is the next-to-last
+page, etc.
+  o Changed the syntax for page rotation. Instead of N, S, E, W, L, R
+and D, now use: north, south, east, west, left, right and down.
+  o Fixed a stream parsing issue with troublesome PDFs that don't
+strictly follow the PDF specification.
+
+---

Old:

  pdftk-1.44-src.zip

New:

  pdftk-1.45-src.zip



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.egWqRC/_old  2013-02-12 22:32:18.0 +0100
+++ /var/tmp/diff_new_pack.egWqRC/_new  2013-02-12 22:32:18.0 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package pdftk
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012-2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:   pdftk
-Version:1.44
+Version:1.45
 Release:0
 Summary:A handy tool for manipulating PDF
 License:GPL-2.0+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2013-01-03 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2013-01-03 19:40:20

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk, Maintainer is thomas.schrai...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2012-06-13 
13:10:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2013-01-03 
19:40:22.0 +0100
@@ -1,0 +2,5 @@
+Sun Dec 16 14:55:21 UTC 2012 - seife+...@b1-systems.com
+
+- fix build on Factory (no unversioned libgcj available anymore)
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.UV9MvT/_old  2013-01-03 19:40:23.0 +0100
+++ /var/tmp/diff_new_pack.UV9MvT/_new  2013-01-03 19:40:23.0 +0100
@@ -46,7 +46,10 @@
 
 BuildRequires:  gcc%{pkgv}-c++
 BuildRequires:  gcc%{pkgv}-java
+%if 0%{suse_version}  1230
+# in 12.2, no libgcj is available anymore, and libgcj-devel pulls in 
libgcj$VERSION anyway
 BuildRequires:  libgcj%{pkgv}
+%endif
 BuildRequires:  libgcj%{pkgv}-devel
 
 # after 10.0 java-gcj was separated from gcj-java


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2012-06-13 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2012-06-13 13:10:54

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk, Maintainer is thomas.schrai...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2012-06-07 
15:39:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2012-06-13 
13:10:55.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun  7 17:49:09 UTC 2012 - seife+...@b1-systems.com
+
+- simplify the java-gcj-compat buildrequire
+- fix build for opensuse 10.0, it does not have nor need java-gcj
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.CTKKQE/_old  2012-06-13 13:10:57.0 +0200
+++ /var/tmp/diff_new_pack.CTKKQE/_new  2012-06-13 13:10:57.0 +0200
@@ -30,13 +30,6 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  unzip
 
-# not sure when 1_5_0 was introduced, just guessing
-%if 0%{?suse_version} = 1100
-BuildRequires:  java-1_5_0-gcj-compat
-%else
-BuildRequires:  java-1_4_2-gcj-compat
-%endif
-
 # BuildRequires package version suffix : 41 for gcc41-java
 %define pkgv %nil
 # gcc/gcj binaries version suffix : -4.1 for gcj-4.1
@@ -56,6 +49,11 @@
 BuildRequires:  libgcj%{pkgv}
 BuildRequires:  libgcj%{pkgv}-devel
 
+# after 10.0 java-gcj was separated from gcj-java
+%if 0%{suse_version}  1000
+BuildRequires:  java-gcj
+%endif
+
 %if 0%{?suse_version}  1010 || 0%{?sles_version} == 10
 BuildRequires:  fastjar
 %endif


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2012-06-07 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2012-06-07 15:39:12

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk, Maintainer is thomas.schrai...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/pdftk/pdftk.changes  2012-06-01 
07:22:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.pdftk.new/pdftk.changes 2012-06-07 
15:39:25.0 +0200
@@ -1,0 +2,11 @@
+Mon Jun  4 08:00:04 UTC 2012 - seife+...@b1-systems.com
+
+- remove specfile hacks to find out current gcj version
+
+---
+Sat May 26 06:25:22 UTC 2012 - seife+...@b1-systems.com
+
+- do not set LIBGCJ but instead require java-VER-gcj-compat
+  this avoids lots of specfile hacks to define current gcj version
+
+---



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.V3hm4i/_old  2012-06-07 15:39:26.0 +0200
+++ /var/tmp/diff_new_pack.V3hm4i/_new  2012-06-07 15:39:26.0 +0200
@@ -30,33 +30,17 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  unzip
 
+# not sure when 1_5_0 was introduced, just guessing
+%if 0%{?suse_version} = 1100
+BuildRequires:  java-1_5_0-gcj-compat
+%else
+BuildRequires:  java-1_4_2-gcj-compat
+%endif
+
 # BuildRequires package version suffix : 41 for gcc41-java
 %define pkgv %nil
 # gcc/gcj binaries version suffix : -4.1 for gcj-4.1
 %define gxxv %nil
-# ligcj.jar version suffix : -4.1 for /usr/share/java/libgcj-4.1.jar
-%define jarv %nil
-
-# this is really stupid, there must be a better way to do this...
-%if 0%{?suse_version}  1210
-%define jarv -4.7
-%endif
-
-%if 0%{?suse_version} = 1210
-%define jarv -4.6
-%endif
-
-%if 0%{?suse_version} = 1140
-%define jarv -4.5
-%endif
-
-%if 0%{?suse_version} = 1120
-%define jarv -4.4
-%endif
-
-%if 0%{?suse_version} = 1110
-%define jarv -4.3
-%endif
 
 # openSUSE 11.0 and SLE_11 are odd cases.
 # %jarv is still correct from above for both
@@ -67,18 +51,6 @@
 %define gxxv -4.3
 %endif
 
-%if 0%{?suse_version} == 1020
-%define jarv -4.1.2
-%endif
-
-%if 0%{?suse_version} == 1010
-%define jarv -4.1.0
-%endif
-
-%if 0%{?suse_version} == 1000
-%define jarv -4.0.2
-%endif
-
 BuildRequires:  gcc%{pkgv}-c++
 BuildRequires:  gcc%{pkgv}-java
 BuildRequires:  libgcj%{pkgv}
@@ -117,7 +89,7 @@
 %__sed -i 's/\r$//' changelog.txt license_gpl_pdftk/*.txt 
license_gpl_pdftk/*/*.txt
 
 %build
-%__make -C pdftk CXXFLAGS=%optflags LIBGCJ=%{_javadir}/libgcj%{jarv}.jar 
GXXV=%gxxv
+%__make -C pdftk CXXFLAGS=%optflags LIBGCJ= GXXV=%gxxv
 %__strip pdftk/%name
 
 %install


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory checked 
in at 2011-12-06 18:36:47

Comparing /work/SRC/openSUSE:Factory/pdftk (Old)
 and  /work/SRC/openSUSE:Factory/.pdftk.new (New)


Package is pdftk, Maintainer is thomas.schrai...@suse.com

Changes:




Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.BtuyRW/_old  2011-12-06 19:03:48.0 +0100
+++ /var/tmp/diff_new_pack.BtuyRW/_new  2011-12-06 19:03:48.0 +0100
@@ -20,7 +20,7 @@
 Name:   pdftk
 Version:1.44
 Release:3
-License:GPLv2+
+License:GPL-2.0+
 Summary:A handy tool for manipulating PDF
 Url:http://www.pdflabs.com/
 Group:  Productivity/Publishing/PDF


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2011-05-30 Thread h_root

Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory
checked in at Mon May 30 16:09:42 CEST 2011.




--- pdftk/pdftk.changes 2011-03-17 23:44:38.0 +0100
+++ /mounts/work_src_done/STABLE/pdftk/pdftk.changes2011-05-18 
14:18:28.0 +0200
@@ -1,0 +2,5 @@
+Wed May 18 12:17:47 UTC 2011 - seife+...@b1-systems.com
+
+- fix build for FACTORY's gcc-4.6 (just increase version in spec)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.aeAlQP/_old  2011-05-30 16:08:43.0 +0200
+++ /var/tmp/diff_new_pack.aeAlQP/_new  2011-05-30 16:08:43.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   pdftk
 Version:1.44
-Release:2
+Release:3
 License:GPLv2+
 Summary:A handy tool for manipulating PDF
 Url:http://www.pdflabs.com/
@@ -38,7 +38,11 @@
 # ligcj.jar version suffix : -4.1 for /usr/share/java/libgcj-4.1.jar
 %define jarv %nil
 
-%if 0%{?suse_version} = 1130
+%if 0%{?suse_version}  1140
+%define jarv -4.6
+%endif
+
+%if 0%{?suse_version} = 1140
 %define jarv -4.5
 %endif
 







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pdftk for openSUSE:Factory

2011-03-21 Thread h_root

Hello community,

here is the log from the commit of package pdftk for openSUSE:Factory
checked in at Mon Mar 21 15:37:55 CET 2011.




--- pdftk/pdftk.changes 2011-03-08 17:13:35.0 +0100
+++ /mounts/work_src_done/STABLE/pdftk/pdftk.changes2011-03-17 
23:44:38.0 +0100
@@ -1,0 +2,17 @@
+Thu Mar 17 22:17:27 UTC 2011 - br...@aljex.com
+
+- created new spec and makefile that builds on a wide range of SUSE versions 
(at least 10.0 to current)
+- use the native/highest version of gcc/gcj on each version of SUSE, not 
forcing gcj41
+- removed unnecessary dos2unix
+- use rpm macros where possible
+- created Makefile.SUSE
+  allow for inconsistent names of executables and libgcj.jar
+  allow rpm to supply %%optflags
+  remove unrecognized -Wextra
+  fastjar has no suffix on any version of SUSE
+  un-hardcode /usr/share/java, get from rpm macro(s) instead.
+  allow using make -f Makefile.SUSE VERSUFF=-4.5, so Makefile.SUSE
+  can also be used manually following the same directions found in the source
+  for the other makefiles.
+
+---

calling whatdependson for head-i586


Old:

  pdftk-1.44.tar.bz2
  pdftk-fastjar_no_versuff.patch

New:

  Makefile.SUSE
  pdftk-1.44-src.zip



Other differences:
--
++ pdftk.spec ++
--- /var/tmp/diff_new_pack.3iQLJr/_old  2011-03-21 15:32:28.0 +0100
+++ /var/tmp/diff_new_pack.3iQLJr/_new  2011-03-21 15:32:28.0 +0100
@@ -19,29 +19,63 @@
 
 Name:   pdftk
 Version:1.44
-Release:1
+Release:2
 License:GPLv2+
 Summary:A handy tool for manipulating PDF
 Url:http://www.pdflabs.com/
 Group:  Productivity/Publishing/PDF
-Source0:pdftk-%{version}.tar.bz2
-Patch0: pdftk-fastjar_no_versuff.patch
-Patch1: bug-427046_pdftk.cc.patch
+Source0:%{name}-%{version}-src.zip
+Source1:Makefile.SUSE
+Patch0: bug-427046_pdftk.cc.patch
+AutoReqProv:on
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  unzip
+
+# BuildRequires package version suffix : 41 for gcc41-java
+%define pkgv %nil
+# gcc/gcj binaries version suffix : -4.1 for gcj-4.1
+%define gxxv %nil
+# ligcj.jar version suffix : -4.1 for /usr/share/java/libgcj-4.1.jar
+%define jarv %nil
+
 %if 0%{?suse_version} = 1130
-BuildRequires:  gcc45
-BuildRequires:  gcc45-c++
-BuildRequires:  gcc45-java
-BuildRequires:  libstdc++45-devel
-%else
-BuildRequires:  gcc41
-BuildRequires:  gcc41-c++
-BuildRequires:  gcc41-java
-BuildRequires:  libstdc++41-devel
+%define jarv -4.5
+%endif
+
+%if 0%{?suse_version} = 1120
+%define jarv -4.4
+%endif
+
+%if 0%{?suse_version} = 1110
+%define jarv -4.3
+%endif
+
+# openSUSE 11.0 and SLE_11 are odd cases.
+# %jarv is still correct from above for both
+%if 0%{?suse_version} == 1100 || 0%{?sles_version} == 11
+# Nothing provides libgcj
+%define pkgv 43
+# gcj command not found, gcjh command not found
+%define gxxv -4.3
+%endif
+
+%if 0%{?suse_version} == 1020
+%define jarv -4.1.2
 %endif
-BuildRequires:  dos2unix
+
+%if 0%{?suse_version} == 1010
+%define jarv -4.1.0
+%endif
+
+%if 0%{?suse_version} == 1000
+%define jarv -4.0.2
+%endif
+
+BuildRequires:  gcc%{pkgv}-c++ gcc%{pkgv}-java libgcj%{pkgv} 
libgcj%{pkgv}-devel
+
+%if 0%{?suse_version}  1010 || 0%{?sles_version} == 10
 BuildRequires:  fastjar
-BuildRequires:  unzip
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%endif
 
 %description
 If PDF is electronic paper, then pdftk is an electronic staple-remover,
@@ -66,34 +100,26 @@
   * Repair Corrupted PDF (Where Possible)
 
 %prep
-%setup -q
-%patch0
-%patch1 -p1
+%setup -q -n %{name}-%{version}-dist
+%patch0 -p1
+%__cp %{S:1} pdftk/Makefile
+%__sed -i 's/\r$//' changelog.txt license_gpl_pdftk/*.txt 
license_gpl_pdftk/*/*.txt
 
 %build
-%{suse_update_config -fl}
-%if 0%{?suse_version} = 1130
-VERSUFF=-4.5
-%else
-VERSUFF=-4.1
-%endif
-unset CLASSPATH  cd pdftk  make -f Makefile.Redhat VERSUFF=$VERSUFF  cd -
-dos2unix -f changelog.txt pdftk.1.txt license_gpl_pdftk/*.txt
+%__make -C pdftk CXXFLAGS=%optflags LIBGCJ=%{_javadir}/libgcj%{jarv}.jar 
GXXV=%gxxv
+%__strip pdftk/%name
 
 %install
-mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_mandir}/man1
-install -m 0755 pdftk/pdftk %{buildroot}%{_bindir}/pdftk
-install -m 0644 pdftk.1 %{buildroot}%{_mandir}/man1/pdftk.1
-gzip %{buildroot}%{_mandir}/man1/pdftk.1
+%__install -Dm 0755 pdftk/%name %{buildroot}%{_bindir}/%name
+%__install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
 %clean
-rm -rf %{buildroot}
+%__rm -rf %buildroot
 
 %files
 %defattr(-,root,root)
-%{_bindir}/*
-%{_mandir}/man1/*
-%doc changelog.txt pdftk.1.html pdftk.1.txt license_gpl_pdftk/*.txt
+%{_bindir}/%name
+%{_mandir}/man1/%{name}.*
+%doc changelog.txt license_gpl_pdftk/*.txt license_gpl_pdftk/*/*.txt
 
 %changelog

++