LibRaw-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Summary: Library for reading RAW files obtained from digital photo cameras
  2. Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
  3. Name: LibRaw
  4. Version: 0.17.2
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2 or CDDL or LibRaw Software License
  7. Group: System Environment/Libraries
  8. URL: http://www.libraw.org
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gcc libtool make
  11. BuildRequires: lcms2-devel
  12. BuildRequires: jasper-devel
  13. Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. LibRaw is a library for reading RAW files obtained from digital photo
  18. cameras (CRW/CR2, NEF, RAF, DNG, and others).
  19. LibRaw is based on the source codes of the dcraw utility, where part of
  20. drawbacks have already been eliminated and part will be fixed in future.
  21. %package devel
  22. Summary: LibRaw development libraries
  23. Summary(ja): LibRaw の開発ライブラリ
  24. Group: Development/Libraries
  25. License: LGPLv2 or CDDL o LibRaw Software License
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. LibRaw development libraries
  30. This package contains static libraries that applications can use to build
  31. against libraw. LibRaw does not provide dynamic libraries.
  32. %package static
  33. Summary: LibRaw static libraries
  34. Summary(ja): LibRaw の静的ライブラリ
  35. Group: Development/Libraries
  36. License: LGPLv2 or CDDL o LibRaw Software License
  37. Requires: %{name}-devel = %{version}-%{release}
  38. %description static
  39. This package contains the static library for %{name}.
  40. %prep
  41. %setup -q -n %{name}-%{version}
  42. %build
  43. # This is not the autotools generated configure script
  44. CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \
  45. --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
  46. --enable-lcms --enable-jasper
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf %{buildroot}
  50. cp -pr doc manual
  51. cp -pr doc manual
  52. chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
  53. chmod 644 manual/*.html
  54. # The Libraries
  55. #make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
  56. %makeinstall
  57. rm -rf %{buildroot}%{_libdir}/*.la
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt
  61. %{_libdir}/*.so.*
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %doc manual samples
  65. %exclude %{_docdir}/libraw/
  66. %dir %{_includedir}/libraw
  67. %{_includedir}/libraw/*.h
  68. %{_libdir}/*.so
  69. %{_libdir}/pkgconfig/*.pc
  70. %files static
  71. %defattr(-,root,root,-)
  72. %{_libdir}/*.a
  73. %post -p /sbin/ldconfig
  74. %postun -p /sbin/ldconfig
  75. %changelog
  76. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
  77. - new upstream release.
  78. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
  79. - new upstream release
  80. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
  81. - new upstream release
  82. * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
  83. - new upstream release
  84. * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
  85. - new upstream release
  86. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1
  87. - new upstream release
  88. - change BuildRequires: lcms2-devel instead of lcms-devel
  89. * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
  90. - new upstream release
  91. * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
  92. - new upstream release
  93. * Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
  94. - new upstream release
  95. - added BuildRequires: jasper-devel
  96. - fixed configure option
  97. - deleted --enable-shared=no, --enable-static=no
  98. - added --enable-jasper
  99. - fixed %%files in -devel
  100. - run ldconfig in %%post, %%postun
  101. * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
  102. - added BuildRequires: lcms-devel
  103. - added configure option --enable-lcms
  104. * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
  105. - added BuildRequires: gcc libtool make
  106. - fixed %%install
  107. - deleted library archive
  108. - fixed %%doc in -devel package
  109. * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
  110. - new upstream release
  111. - dropt Patch0
  112. - fixed configure option
  113. - fixed %%files
  114. - splitted -static package
  115. * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
  116. - new upstream release
  117. - added License: LibRaw Software License
  118. - dropt patch1,2
  119. - replaced patch0 by Fedora development patch
  120. * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
  121. - new upstream release
  122. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
  123. - initial build for VineSeed
  124. * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
  125. - New package