djvulibre-vl.spec 6.2 KB

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