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

Revision 5292, 3.7 KB checked in by kudoh, 12 years ago (diff)

LibRaw?-vl.spec

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