source: projects/specs/trunk/L/LibRaw/LibRaw-vl.spec @ 8201

Revision 8201, 4.3 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuild

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