djvulibre-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Summary: DjVu viewers, encoders and utilities.
  2. Summary(ja): DjVu 画像形式ファイル操作用ライブラリ、ツール
  3. Name: djvulibre
  4. Version: 3.5.25.3
  5. Release: 3%{?_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. * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.25.3-3
  90. - rebuilt with new toolchain.
  91. * Thu Feb 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.5.25.3-2
  92. - rebuilt on current VineSeed
  93. - moved %{_libdir}/lib*.so to devel subpackage
  94. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.25.3-1
  95. - update to 3.5.25.3
  96. - remove BuildRequires: qt-devel
  97. - add BuildRequires: inkscape
  98. * Sun May 01 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.24-1
  99. - updated djvulibre to 3.5.24
  100. - obsoletes djvulibre-plugin (new is djview-plugin)
  101. * Sat Apr 30 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.22-4
  102. - installed djview3.png
  103. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.22-3
  104. - rebuilt with rpm-4.8.1 for pkg-config
  105. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-2
  106. - rebuilt with new toolchain
  107. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-1
  108. - updated djvulibre to 3.5.22
  109. * Tue Dec 30 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.21-1
  110. - initial build for VineSeed
  111. - spec in utf-8, and applied vine versioning policy
  112. - updated djvulibre to 3.5.21
  113. - added CXXFLAG="-march=i686" if i386
  114. - added djview desktop file
  115. * Tue Apr 03 2007 Shu KONNO <owa@bg.wakwak.com> 3.5.19-uvl1
  116. - updated djvulibre to 3.5.19
  117. - added scripts to alternative djview at %%post, %%preun
  118. * Thu Dec 01 2005 Shu KONNO <owa@bg.wakwak.com> 3.5.16-uvl1
  119. - updated djvulibre to 3.5.16
  120. - changed suffix
  121. - divided into djvulibre, djvulibre-devel, djvulibre-plugin
  122. * Tue Nov 09 2004 Shu KONNO <owa@bg.wakwak.com> 3.5.14-uvl2
  123. - updated djvulibre to 3.5.14 (realese 2)
  124. * Thu Jun 17 2004 Leon Bottou <leon@bottou.org> 3.5.13-4
  125. - changed runtime generation of file list.
  126. * Mon May 31 2004 Leon Bottou <leon@bottou.org> 3.5.13-3
  127. - removed 'make install-desktop-files'
  128. * Wed May 5 2004 Leon Bottou <leon@bottou.org> 3.5.13-2
  129. * Fri Apr 9 2004 Leon Bottou <leon@bottou.org> 3.5.13-1
  130. - added runtime generation of file list.
  131. - using DESTDIR instead of %makeinstall.
  132. - added 'make install-desktop-files'
  133. * Wed Nov 5 2003 Leon Bottou <leon@bottou.org> 3.5.12-3
  134. - added support for i18n
  135. - renamed symlink in mozilla plugin dirs.
  136. * Mon Jul 7 2003 Leon Bottou <leon@bottou.org> 3.5.12-1
  137. * Thu Apr 24 2003 Leon Bottou <leon@bottou.org> 3.5.11-1
  138. * Thu Feb 6 2003 Leon Bottou <leon@bottou.org> 3.5.10-2
  139. * Fri Jan 24 2003 Leon Bottou <leon@bottou.org> 3.5.10-1
  140. * Wed Oct 9 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-2
  141. - fixed logic for uninstalling nsdejavu links.
  142. - learned a few tricks from the freshrpms spec file.
  143. * Sun Oct 6 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-1
  144. - added logic to install nsdejavu for mozilla.
  145. * Wed May 29 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.6-1
  146. * Mon Apr 1 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
  147. - changed group to Applications/Publishing.
  148. * Mon Mar 25 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
  149. * Tue Jan 22 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.4-2
  150. - added macros to locate man directory.
  151. * Wed Jan 16 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.3-1
  152. * Fri Dec 7 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.2-1
  153. * Wed Dec 5 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.1-1
  154. - created initial file.