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

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