commit 6dc0311fd9dd424b1ff02e6e45d07a53f1eff8adb2cb42fcce31dc9964da7c75 Author: Pavol Rusnak Date: Thu Apr 21 14:11:35 2011 +0000 Accepting request 66843 from openSUSE:Factory:Contrib OBS-URL: https://build.opensuse.org/request/show/66843 OBS-URL: https://build.opensuse.org/package/show/Publishing/pdf2djvu?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pdf2djvu-0.7.7.tar.bz2 b/pdf2djvu-0.7.7.tar.bz2 new file mode 100644 index 0000000..b45b197 --- /dev/null +++ b/pdf2djvu-0.7.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52c7ad948d4a8ebd0c603cd6617b9a955bf5ac0267e15410453b802ed8c21f44 +size 198810 diff --git a/pdf2djvu.changes b/pdf2djvu.changes new file mode 100644 index 0000000..520fcf6 --- /dev/null +++ b/pdf2djvu.changes @@ -0,0 +1,106 @@ +------------------------------------------------------------------- +Mon Apr 11 10:18:42 UTC 2011 - lazy.kent@opensuse.org + +- correct SLE dependencies and test + +------------------------------------------------------------------- +Thu Mar 31 18:49:04 UTC 2011 - lazy.kent@opensuse.org + +- update to 0.7.7 + +------------------------------------------------------------------- +Tue Feb 22 08:33:49 UTC 2011 - lazy.kent@opensuse.org + +- update to 0.7.6 +- man pages marked as docs + +------------------------------------------------------------------- +Thu Jan 20 14:21:16 UTC 2011 - lazy.kent@opensuse.org + +- update to 0.7.5 +- make tests +- added COPYING + +------------------------------------------------------------------- +Sun Jun 13 16:42:31 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.7.4 +- dropped obsolete patch + +------------------------------------------------------------------- +Sat Jun 12 07:13:28 UTC 2010 - lazy.kent.suse@gmail.com + +- fixed handling of the --pages option + +------------------------------------------------------------------- +Tue May 25 00:19:53 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.7.3 + +------------------------------------------------------------------- +Mon May 3 06:06:38 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.7.2 +- added some docs + +------------------------------------------------------------------- +Tue Apr 20 20:48:45 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.7.1 + +------------------------------------------------------------------- +Sun Feb 28 00:54:25 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.7.0 + +------------------------------------------------------------------- +Wed Feb 10 10:31:06 UTC 2010 - lazy.kent.suse@gmail.com + +- update to 0.6.2 +- added libxslt-devel, libGraphicsMagick++-devel to BuildRequires + +------------------------------------------------------------------- +Sat Oct 3 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.6.0 + +------------------------------------------------------------------- +Fri Jul 31 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.11 + +------------------------------------------------------------------- +Sun Jul 12 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.10 + +------------------------------------------------------------------- +Wed Jul 1 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- added djvulibre to Requires + +------------------------------------------------------------------- +Fri Jun 19 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.9 + +------------------------------------------------------------------- +Tue Jun 2 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- spec-file cleanup + +------------------------------------------------------------------- +Sun May 17 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.8 + +------------------------------------------------------------------- +Fri May 8 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.7 + +------------------------------------------------------------------- +Wed May 6 00:00:00 MSD 2009 - lazy.kent.suse@gmail.com + +- update to 0.5.6 + diff --git a/pdf2djvu.spec b/pdf2djvu.spec new file mode 100644 index 0000000..02a3993 --- /dev/null +++ b/pdf2djvu.spec @@ -0,0 +1,80 @@ +# vim: set ts=4 sw=4 et: +# kate: space-indent on; indent-width 4; +# +# spec file for package pdf2djvu (Version 0.7.7) +# +# Copyright (c) 2009-2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: pdf2djvu +Version: 0.7.7 +Release: 0 +URL: http://pdf2djvu.googlecode.com/ +License: GPLv2 +Source0: %{name}-%{version}.tar.bz2 +Group: Productivity/Publishing/PDF +Summary: PDF to DjVu Converter +BuildRequires: djvulibre +BuildRequires: gcc-c++ +BuildRequires: libdjvulibre-devel +BuildRequires: libpoppler-devel +BuildRequires: libxslt-devel +%if ! 0%{?sles_version} +BuildRequires: libGraphicsMagick++-devel +%endif +Requires: djvulibre +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +pdf2djvu creates DjVu files from PDF files. It's able to extract: +graphics, text layer, hyperlinks, document outline (bookmarks) and +metadata. + + + +Authors: +-------- + Jakub Wilk + +%prep +%setup -q + +%build +%configure +%__make %{?_smp_mflags} + +%install +%makeinstall +%find_lang %{name} + +%check +# Don't run test in SLE. Some tests failed because compiled without +# libGraphicsMagick++ +# http://code.google.com/p/pdf2djvu/issues/detail?id=55 +%if ! 0%{?sles_version} +%__make test +%endif + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING doc/changelog doc/cjk.txt doc/credits.txt +%doc doc/djvudigital.txt +%{_bindir}/%{name} +%doc %{_mandir}/man?/* +%doc %{_mandir}/?? + +%changelog