source: projects/specs/trunk/lib/libo/libopenraw/libopenraw-vl.spec @ 10581

Revision 10581, 7.3 KB checked in by Takemikaduchi, 8 years ago (diff)

xlockmore: new upstream release
others: rebuild with gcc-5.4.0

Line 
1Summary:        Decode camera RAW files
2Name:           libopenraw
3Version:        0.0.9
4Release:        3%{?_dist_release}
5License:        LGPLv3+
6Group:          System Environment/Libraries
7URL:            http://libopenraw.freedesktop.org/wiki
8Source0:        http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
9# https://bugs.freedesktop.org/show_bug.cgi?id=31088
10Patch2:         libopenraw-0.0.9-pixbufloaderdir.patch
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  libtool autoconf automake
15BuildRequires:  libboost-devel
16BuildRequires:  libboost-test
17BuildRequires:  exempi-devel >= 1.99.5
18BuildRequires:  gtk2-devel
19BuildRequires:  curl-devel
20BuildRequires:  libjpeg-devel
21BuildRequires:  libxml2-devel
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27libopenraw is an ongoing project to provide a free software
28implementation for camera RAW files decoding. One of the main reason is
29that dcraw is not suited for easy integration into applications, and
30there is a need for an easy to use API to build free software digital
31image processing application.
32
33%package gnome
34Summary:        GUI components of %{name}
35Group:          System Environment/Libraries
36
37Requires:       %{name} = %{version}-%{release}
38
39%description gnome
40The %{name}-gnome package contains gui components of %{name}.
41
42%package devel
43Summary:        Development files for %{name}
44Group:          Development/Libraries
45
46Requires:       %{name} = %{version}-%{release}
47Requires:       pkgconfig
48
49%description devel
50The %{name}-devel package contains libraries and header files for
51developing applications that use %{name}.
52
53%package gnome-devel
54Summary:        Development files for %{name}-gnome
55Group:          Development/Libraries
56
57Requires:       %{name}-gnome = %{version}-%{release}
58Requires:       %{name}-devel = %{version}-%{release}
59Requires:       pkgconfig
60
61%description    gnome-devel
62The %{name}-gnome-devel package contains libraries and header files for
63developing applications that use %{name}-gnome.
64
65%package pixbuf-loader
66Summary:        RAW image loader for GTK+ applications
67Group:          System Environment/Libraries
68
69Requires:       gtk2
70Requires:       %{name} = %{version}-%{release}
71Requires(post):   gdk-pixbuf2
72Requires(postun): gdk-pixbuf2
73
74%description pixbuf-loader
75%{name}-pixbuf-loader contains a plugin to load RAW images, as created by
76digital cameras, in GTK+ applications.
77
78%prep
79%setup -q
80%patch2 -p1 -b pixbufloaderdir
81
82%build
83autoreconf -i -f
84%configure --disable-static --enable-gnome
85
86# Omit unused direct shared library dependencies.
87sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
88
89make %{?_smp_mflags}
90
91%check
92make check
93
94%install
95rm -rf $RPM_BUILD_ROOT
96
97make install DESTDIR=$RPM_BUILD_ROOT
98find $RPM_BUILD_ROOT -type f -name "*.la" -delete
99
100%clean
101rm -rf $RPM_BUILD_ROOT
102
103%post -p /sbin/ldconfig
104
105%postun -p /sbin/ldconfig
106
107%post gnome -p /sbin/ldconfig
108
109%postun gnome -p /sbin/ldconfig
110
111%post pixbuf-loader
112gdk-pixbuf-query-loaders --update-cache || :
113
114
115%postun pixbuf-loader
116gdk-pixbuf-query-loaders --update-cache || :
117
118%files
119%defattr(-,root,root,-)
120%doc AUTHORS
121%doc ChangeLog
122%doc COPYING
123%doc NEWS
124%doc README
125%doc TODO
126%{_libdir}/%{name}.so.*
127
128%files gnome
129%defattr(-,root,root,-)
130%{_libdir}/%{name}gnome.so.*
131
132%files devel
133%defattr(-,root,root,-)
134%{_libdir}/%{name}.so
135%{_libdir}/pkgconfig/%{name}-1.0.pc
136
137%dir %{_includedir}/%{name}-1.0
138%{_includedir}/%{name}-1.0/%{name}/*.h
139
140%files gnome-devel
141%defattr(-,root,root,-)
142%{_libdir}/%{name}gnome.so
143%{_libdir}/pkgconfig/%{name}-gnome-1.0.pc
144
145%dir %{_includedir}/%{name}-1.0/%{name}-gnome
146%{_includedir}/%{name}-1.0/%{name}-gnome/gdkpixbuf.h
147
148%files pixbuf-loader
149%defattr(-,root,root,-)
150%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.so
151
152%changelog
153* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.9-3
154- build with gcc-5.4.0
155
156* Fri Jan  3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.9-2
157- build with current VineSeed
158
159* Mon Jan 14 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.9-1
160- new upstream release
161- update pixbuf loader directory patch (Patch2)
162- drop patches
163 - Support-partially-PEF-from-Pentax-K20D.patch (Patch0)
164 - Properly-decompress-CFA-from-Canon-7D-5DMkII-500D-1D patch (Patch1)
165
166* Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.8-1
167- initial build for Vine Linux
168
169* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-5
170- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
171
172* Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-4
173- fix %%post and %%postun scripts and install directory for
174  pixbuf-loader
175
176* Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-3
177- add upstream patch 22287584fbfa4657098ee997957a6c4fc972a53b to
178  properly decompress CFA from certain cameras (BZ 624283)
179
180* Wed Sep 08 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-2
181- add upstream patch 1b15acdcfdc4664bc6c0be473cb6e096071a4e62
182  to support certain PEF files and to fix a crash when opening
183  such files (BZ 606898)
184
185* Sat Dec 05 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.0.8-1
186- Version bump to 0.0.8.
187  * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435)
188  * cfa output should write the data in PGM as big endian.
189  * Better handling of Canon CR2 "slices" to fix crasher with Canon
190    450D/Digital Rebel XSi files (and possibly others).
191  * Added new API or_rawfile_new_from_memory() to load a Raw file from a
192    memory buffer.
193  * Added new API or_rawfile_get_typeid() and the associated consts.
194  * Added new API or_rawdata_get_minmax().
195  * Added new API or_get_file_extensions().
196  * Added new API or_rawfile_get_rendered_image() to get a rendered image.
197  * Added new API or_bitmapdata_*().
198  * New GdkPixbuf loader.
199  * Decompress NEF files.
200- License changed to LGPLv3 or later.
201- Missing includes fixed by upstream.
202- Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires:
203  exempi-devel libcurl-devel'.
204- Added 'Requires: gtk2' to pixbuf-loader for directory ownership.
205- Added a %%check stanza.
206
207* Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-4
208- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
209
210* Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3
211- add stdio.h for fopen and friends
212
213* Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-2
214- Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
215
216* Tue Mar 04 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.5-1
217- New upstream version.
218
219* Wed Feb 20 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.0.4-3
220- Autorebuild for GCC 4.3
221
222* Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-2
223- Added missing dependency on libxml
224
225* Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-1
226- New upstream version.
227
228* Fri Dec 28 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.3-1
229- New upstream version.
230- Updated license tag.
231- Fixed rpath error.
232
233* Thu May 03 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-5
234- Added unowned directory to list of files.
235- Changed license from GPL to LGPL.
236
237* Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-4
238- Moved gui components to a separate package.
239
240* Tue May 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-3
241- Added missing BuildRequirement.
242
243* Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-2
244- Added missing BuildRequirement.
245
246* Sun Apr 29 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-1
247- Inital version.
Note: See TracBrowser for help on using the repository browser.