LibRaw017-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. Summary: Library for reading RAW files obtained from digital photo cameras
  2. Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
  3. Name: LibRaw017
  4. Version: 0.17.2
  5. Release: 2%{?_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. %prep
  22. %setup -q -n LibRaw-%{version}
  23. perl -pi -e 's/powf64/libraw_powf64l/' \
  24. dcraw/dcraw.c \
  25. internal/dcraw_common.cpp \
  26. libraw/libraw_const.h \
  27. src/libraw_cxx.cpp
  28. %build
  29. # This is not the autotools generated configure script
  30. CFLAGS="%{optflags} -Wno-narrowing" \
  31. CXXFLAGS="%{optflags} -Wno-narrowing" \
  32. sh configure --prefix=/usr --disable-examples \
  33. --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
  34. --enable-lcms --enable-jasper
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf %{buildroot}
  38. cp -pr doc manual
  39. cp -pr doc manual
  40. chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
  41. chmod 644 manual/*.html
  42. # The Libraries
  43. #make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
  44. %makeinstall
  45. rm -f %{buildroot}%{_libdir}/*.la
  46. rm -rf %{buildroot}%{_docdir}/libraw
  47. rm -rf %{buildroot}%{_includedir}/libraw
  48. rm -f %{buildroot}%{_libdir}/*.so
  49. rm -f %{buildroot}%{_libdir}/pkgconfig/*.pc
  50. rm -f %{buildroot}%{_libdir}/*.a
  51. %files
  52. %defattr(-,root,root,-)
  53. %license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
  54. %doc Changelog.txt
  55. %{_libdir}/*.so.*
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %changelog
  59. * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-2
  60. - changed %%name for backward compatibility.
  61. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
  62. - new upstream release.
  63. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
  64. - new upstream release
  65. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
  66. - new upstream release
  67. * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
  68. - new upstream release
  69. * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
  70. - new upstream release
  71. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1
  72. - new upstream release
  73. - change BuildRequires: lcms2-devel instead of lcms-devel
  74. * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
  75. - new upstream release
  76. * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
  77. - new upstream release
  78. * Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
  79. - new upstream release
  80. - added BuildRequires: jasper-devel
  81. - fixed configure option
  82. - deleted --enable-shared=no, --enable-static=no
  83. - added --enable-jasper
  84. - fixed %%files in -devel
  85. - run ldconfig in %%post, %%postun
  86. * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
  87. - added BuildRequires: lcms-devel
  88. - added configure option --enable-lcms
  89. * Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
  90. - added BuildRequires: gcc libtool make
  91. - fixed %%install
  92. - deleted library archive
  93. - fixed %%doc in -devel package
  94. * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
  95. - new upstream release
  96. - dropt Patch0
  97. - fixed configure option
  98. - fixed %%files
  99. - splitted -static package
  100. * Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
  101. - new upstream release
  102. - added License: LibRaw Software License
  103. - dropt patch1,2
  104. - replaced patch0 by Fedora development patch
  105. * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
  106. - new upstream release
  107. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
  108. - initial build for VineSeed
  109. * Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
  110. - New package