LibRaw-vl.spec 4.2 KB

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