gpdf-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: A PDF file viewer for GNOME
  2. Summary(ja): GNOME 用 PDF ファイルビューア
  3. Name: gpdf
  4. Version: 2.10.0
  5. Release: 0vl2
  6. License: GPL
  7. Group: Applications/Publishing
  8. Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.10/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. Requires: xpdf-common >= 3.01
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. Xpdf is an X Window System based viewer for Portable Document Format (PDF)
  15. files. PDF files are sometimes called Acrobat files, after Adobe Acrobat
  16. (Adobe's PDF viewer). Xpdf is a small and efficient program which uses
  17. standard X fonts.
  18. %description -l ja
  19. GPdfはGNOME用のPDF(Portable Document Format)ファイルのビューアです。
  20. PDFファイルは, Adobe社のAcrobat(Adobe社のPDFビューア)で利用されるた
  21. め, Acrobat ファイルとも呼ばれています.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure \
  26. --enable-a4-paper \
  27. --enable-opi \
  28. --enable-annotations-view \
  29. --enable-japanese \
  30. --disable-scrollkeeper
  31. make
  32. %install
  33. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  34. %makeinstall
  35. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  36. desktop-file-install --vendor gnome --delete-original \
  37. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  38. --add-only-show-in GNOME \
  39. $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
  40. %find_lang %name
  41. rm -rf %{_localstatedir}/scrollkeeper
  42. %clean
  43. rm -rf %{buildroot}
  44. %post
  45. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  46. scrollkeeper-update >& /dev/null ||:
  47. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  48. SCHEMAS="gpdf.schemas"
  49. for S in $SCHEMAS; do
  50. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
  51. done
  52. %postun
  53. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  54. scrollkeeper-update >& /dev/null || :
  55. %files -f %{name}.lang
  56. %defattr(-,root,root)
  57. %doc CHANGES README NEWS AUTHORS README.GPdf
  58. %{_bindir}/*
  59. %{_libdir}/bonobo/servers/*.server
  60. %{_libexecdir}/*
  61. %{_datadir}/application-registry/*
  62. %{_datadir}/applications/*
  63. %{_datadir}/gnome-2.0/ui/*
  64. %{_datadir}/gnome/help/%{name}
  65. %{_datadir}/%{name}/
  66. %{_datadir}/mime-info/*
  67. %{_datadir}/omf/gpdf/*
  68. %{_datadir}/pixmaps/*.png
  69. %{_datadir}/pixmaps/%{name}/*
  70. %{_sysconfdir}/gconf/schemas/gpdf.schemas
  71. %changelog
  72. * Thu Jun 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl2
  73. - add Requires: xpdf-common >= 3.01
  74. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  75. - new upstream version
  76. * Sat Jan 29 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.3-0vl1
  77. - new upstream release
  78. * Sun Jan 09 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1
  79. - new upstream release
  80. * Sat Jan 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  81. - new upstream release
  82. * Wed Dec 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  83. - new upstream release
  84. * Fri Apr 02 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.131-0vl1
  85. - new upstream release
  86. * Tue Mar 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.130-0vl1
  87. - new upstream release
  88. * Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.125-0vl1
  89. - new upstream release
  90. * Sat Dec 13 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.120-0vl1
  91. - new upstream release
  92. * Sat Oct 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.111-0vl1
  93. - new upstream release
  94. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.110-0vl1
  95. - new upstream release
  96. * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.106-0vl1
  97. - new upstream release
  98. * Sun Jul 06 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.104-0vl1
  99. - new upstream release
  100. * Sun Jun 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.103-0vl1
  101. - new upstream release
  102. * Sat May 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.102-0vl1
  103. - initial build