Explorar el Código

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6133 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh hace 13 años
padre
commit
b788bbd571
Se han modificado 3 ficheros con 33 adiciones y 9 borrados
  1. 11 4
      e/epdfview/epdfview-vl.spec
  2. 11 2
      p/pdfshuffler/pdfshuffler-vl.spec
  3. 11 3
      p/pypoppler/pypoppler-vl.spec

+ 11 - 4
e/epdfview/epdfview-vl.spec

@@ -1,6 +1,6 @@
 Name:		epdfview
 Version:	0.1.8
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Summary:	Lightweight PDF document viewer
 Summary(ja):	軽量な PDF ドキュメントビューア
 
@@ -11,6 +11,8 @@ Source0:	http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{versi
 #Patch0:		epdfview-poppler-0.16.patch
 #Patch1:		epdfview-0.1.7-fix-mouse-scroll.patch
 #Patch2:		03_nonexisting-file.patch
+Patch0:		02_glib-single-include.patch
+Patch1:		epdfview-0.1.8-swap-colors-with-poppler-0.18.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
@@ -32,14 +34,14 @@ ePDFView の狙いは Evince の流れをくみつつも Gnome ライブラリ
 
 %prep
 %setup -q
-#%patch0 -p0
-#%patch1 -p1
+%patch0 -p1
+%patch1 -p0
 #%patch2 -p1
 
 %build
 # making null ChangeLog to avoid failure at autoreconf
 touch ChangeLog
-autoreconf -f -i
+#autoreconf -f -i
 %configure
 make %{?_smp_mflags}
 
@@ -83,6 +85,11 @@ update-desktop-database &> /dev/null || :
 %{_mandir}/man1/
 
 %changelog
+* Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-2
+- rebuilt with poppler-0.18.4
+- added Patch0 from Debian sid to fix build error
+- added Patch1 from Fedora rawhide to fix color channel
+
 * Sun May 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.8-1
 - new upstream release
 - dropt all patches

+ 11 - 2
p/pdfshuffler/pdfshuffler-vl.spec

@@ -1,7 +1,7 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           pdfshuffler
-Version:        0.5.1
+Version:        0.6.0
 Release:        1%{?_dist_release}
 Summary:        PDF file merging, rearranging, and splitting
 Summary(ja):    PDF ファイルのマージ、再配置、分割
@@ -11,6 +11,7 @@ License:        GPLv3
 URL:            http://sourceforge.net/projects/pdfshuffler/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:        pdfshuffler_ja.po
+Patch0:         enable_trans.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
@@ -39,6 +40,7 @@ PDF-Shuffler は PDF ドキュメントのマージ、分割、回転、ペー
 %prep
 %setup -q
 %{__cp} -f %{SOURCE1} po/ja.po
+%patch0 -p1
 
 
 %build
@@ -63,11 +65,18 @@ rm -rf %{buildroot}
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
-%{_datadir}/pixmaps/%{name}.svg
+%{_datadir}/%{name}/icons/hicolor/*/%{name}.svg
+%{_datadir}/%{name}/%{name}.ui
 %{python_sitelib}/%{name}*.egg-info
+%{python_sitelib}/%{name}/
 
 
 %changelog
+* Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.0-1
+- new upstream release
+- update source1
+- added Patch0 to enable Japanese translation
+
 * Sat Nov 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1
 - new upstream release
 - updated source1

+ 11 - 3
p/pypoppler/pypoppler-vl.spec

@@ -2,7 +2,7 @@
 
 Name:           pypoppler
 Version:        0.12.1
-Release:        4%{?_dist_release}
+Release:        5%{?_dist_release}
 Summary:        Python bindings for the Poppler PDF rendering library
 Summary(ja):    Poppler PDF レンダリングライブラリの Python バインディング
 
@@ -20,7 +20,7 @@ Patch0:		75_74.diff
 # Manually wrap poppler_page_render_to_pixbuf and
 # poppler_page_render_to_pixbuf_for_printing returning the Pixbuf
 # bzr rev 76
-Patch1:		76_75.diff
+#Patch1:		76_75.diff
 
 # Fix a few leaks by using the right functions while freeing the returned lists
 # bzr 79
@@ -29,6 +29,8 @@ Patch2:		79_78.diff
 # Changes for poppler 1.5
 Patch3:		pypoppler-0.12.1-poppler0.15.0-changes.patch
 
+# Minimal fix for changes in poppler 0.18
+Patch4:		pypoppler-0.12.1-poppler-0.18.0-minimal-fix.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
@@ -47,9 +49,10 @@ run programs written in Python and using Poppler set.
 %prep
 %setup -q
 %patch0 -p0 -b .bzr75
-%patch1 -p0 -b .bzr76
+#%patch1 -p0 -b .bzr76
 %patch2 -p0 -b .bzr79
 %patch3 -p1 -b .poppler15
+%patch4 -p1 -b .poppler-18-minimal
 
 
 %build
@@ -74,6 +77,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu May 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12.1-5
+- rebuilt with poppler-0.18.4
+- dropt Pacth1
+- added Patch4 from Fedora rawhide
+
 * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.1-4
 - rebuild with python-2.7.2