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

Revision 8252, 4.4 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.12.2

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