djvulibre-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Summary: DjVu viewers, encoders and utilities.
  2. Summary(ja): DjVu 画像形式ファイル操作用ライブラリ、ツール
  3. Name: djvulibre
  4. Version: 3.5.25.3
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. Source0: http://prdownloads.sourceforge.net/djvu/djvulibre-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. URL: http://djvu.sourceforge.net
  11. BuildRequires: libtiff-devel
  12. BuildRequires: libjpeg-devel
  13. BuildRequires: glibc-devel
  14. BuildRequires: inkscape
  15. Requires: libtiff, libjpeg, glibc-devel
  16. Distribution: Project Vine
  17. Vendor: Vine Linux
  18. Packager: owa
  19. %description
  20. DjVu is a web-centric format and software platform for distributing documents
  21. and images. DjVu content downloads faster, displays and renders faster, looks
  22. nicer on a screen, and consume less client resources than competing formats.
  23. DjVu was originally developed at AT&T Labs-Research by Leon Bottou, Yann
  24. LeCun, Patrick Haffner, and many others. In March 2000, AT&T sold DjVu to
  25. LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial
  26. encoders (mostly on Windows)
  27. In an effort to promote DjVu as a Web standard, the LizardTech management was
  28. enlightened enough to release the reference implementation of DjVu under the
  29. GNU GPL in October 2000. DjVuLibre (which means free DjVu), is an enhanced
  30. version of that code maintained by the original inventors of DjVu. It is
  31. compatible with version 3.5 of the LizardTech DjVu software suite.
  32. DjVulibre-3.5 contains:
  33. - a standalone DjVu viewer based on the Qt library.
  34. - A browser plugin that works with most Unix browsers.
  35. - A full-fledged wavelet-based compressor for pictures.
  36. - A simple compressor for bitonal (black and white) scanned pages.
  37. - A compressor for palettized images (a la GIF/PNG).
  38. - A set of utilities to manipulate and assemble DjVu images and documents.
  39. - A set of decoders to convert DjVu to a number of other formats.
  40. - An up-to-date version of the C++ DjVu Reference Library.
  41. %package devel
  42. Summary: The libraries and header files needed for djvulibre development.
  43. Group: Development/Libraries
  44. Requires: djvulibre = %{version}
  45. %description devel
  46. DjVulibre libraries and header files for development.
  47. %prep
  48. %setup -q -n %{name}-3.5.25
  49. %build
  50. %ifarch i386
  51. export CXXFLAGS="-march=i686"
  52. %endif
  53. %configure
  54. # don't set smp option (-j n)
  55. make depend
  56. make
  57. %install
  58. rm -rf %{buildroot}
  59. make DESTDIR=%{buildroot} install
  60. # fix to stop ldconfig from complaining
  61. find %{buildroot}%{_libdir} -name "*.so*" -exec chmod 755 {} \;
  62. # cleanup of the docs
  63. rm -rf doc/CVS 2>/dev/null || :
  64. %preun -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %clean
  67. rm -rf %{buildroot}
  68. %files
  69. %defattr(-, root, root)
  70. %doc README COPYRIGHT COPYING INSTALL NEWS TODO doc
  71. %{_bindir}
  72. %{_libdir}
  73. %exclude %{_libdir}/pkgconfig
  74. %exclude %{_libdir}/libdjvulibre.la
  75. %exclude %{_datadir}/djvu/osi/de/*
  76. %exclude %{_datadir}/djvu/osi/fr/*
  77. %exclude %{_datadir}/djvu/osi/zh/*
  78. %{_datadir}/djvu/pubtext
  79. %{_datadir}/djvu/osi/desktop
  80. %{_datadir}/djvu/osi/languages.xml
  81. %{_datadir}/djvu/osi/en
  82. %{_datadir}/djvu/osi/cs/messages.xml
  83. %lang(ja) %{_datadir}/djvu/osi/ja*
  84. %{_mandir}/man?
  85. %files devel
  86. %defattr(-, root, root)
  87. %{_includedir}/libdjvu
  88. %{_libdir}/pkgconfig/ddjvuapi.pc
  89. %changelog
  90. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.25.3-1
  91. - update to 3.5.25.3
  92. - remove BuildRequires: qt-devel
  93. - add BuildRequires: inkscape
  94. * Sun May 01 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.24-1
  95. - updated djvulibre to 3.5.24
  96. - obsoletes djvulibre-plugin (new is djview-plugin)
  97. * Sat Apr 30 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.22-4
  98. - installed djview3.png
  99. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.22-3
  100. - rebuilt with rpm-4.8.1 for pkg-config
  101. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-2
  102. - rebuilt with new toolchain
  103. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-1
  104. - updated djvulibre to 3.5.22
  105. * Tue Dec 30 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.21-1
  106. - initial build for VineSeed
  107. - spec in utf-8, and applied vine versioning policy
  108. - updated djvulibre to 3.5.21
  109. - added CXXFLAG="-march=i686" if i386
  110. - added djview desktop file
  111. * Tue Apr 03 2007 Shu KONNO <owa@bg.wakwak.com> 3.5.19-uvl1
  112. - updated djvulibre to 3.5.19
  113. - added scripts to alternative djview at %%post, %%preun
  114. * Thu Dec 01 2005 Shu KONNO <owa@bg.wakwak.com> 3.5.16-uvl1
  115. - updated djvulibre to 3.5.16
  116. - changed suffix
  117. - divided into djvulibre, djvulibre-devel, djvulibre-plugin
  118. * Tue Nov 09 2004 Shu KONNO <owa@bg.wakwak.com> 3.5.14-uvl2
  119. - updated djvulibre to 3.5.14 (realese 2)
  120. * Thu Jun 17 2004 Leon Bottou <leon@bottou.org> 3.5.13-4
  121. - changed runtime generation of file list.
  122. * Mon May 31 2004 Leon Bottou <leon@bottou.org> 3.5.13-3
  123. - removed 'make install-desktop-files'
  124. * Wed May 5 2004 Leon Bottou <leon@bottou.org> 3.5.13-2
  125. * Fri Apr 9 2004 Leon Bottou <leon@bottou.org> 3.5.13-1
  126. - added runtime generation of file list.
  127. - using DESTDIR instead of %makeinstall.
  128. - added 'make install-desktop-files'
  129. * Wed Nov 5 2003 Leon Bottou <leon@bottou.org> 3.5.12-3
  130. - added support for i18n
  131. - renamed symlink in mozilla plugin dirs.
  132. * Mon Jul 7 2003 Leon Bottou <leon@bottou.org> 3.5.12-1
  133. * Thu Apr 24 2003 Leon Bottou <leon@bottou.org> 3.5.11-1
  134. * Thu Feb 6 2003 Leon Bottou <leon@bottou.org> 3.5.10-2
  135. * Fri Jan 24 2003 Leon Bottou <leon@bottou.org> 3.5.10-1
  136. * Wed Oct 9 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-2
  137. - fixed logic for uninstalling nsdejavu links.
  138. - learned a few tricks from the freshrpms spec file.
  139. * Sun Oct 6 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-1
  140. - added logic to install nsdejavu for mozilla.
  141. * Wed May 29 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.6-1
  142. * Mon Apr 1 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
  143. - changed group to Applications/Publishing.
  144. * Mon Mar 25 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
  145. * Tue Jan 22 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.4-2
  146. - added macros to locate man directory.
  147. * Wed Jan 16 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.3-1
  148. * Fri Dec 7 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.2-1
  149. * Wed Dec 5 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.1-1
  150. - created initial file.