source: projects/specs/trunk/r/rawstudio/rawstudio-vl.spec @ 9345

Revision 9345, 7.3 KB checked in by Takemikaduchi, 9 years ago (diff)

rebuild with ligphoto2-2.5.7

Line 
1Name:           rawstudio
2Version:        2.0
3Release:        6%{?_dist_release}
4Summary:        Read, manipulate and convert digital camera raw images
5
6Group:          Applications/Multimedia
7License:        GPLv2+
8URL:            http://rawstudio.org
9
10Source0:        http://rawstudio.org/files/release/%{name}-%{version}.tar.gz
11# Packaging a snapshot created with
12# svn export -r 3521 https://rawstudio.org/svn/rawstudio/trunk/ rawstudio
13#Source0:        rawstudio.tar.gz
14
15Patch0:         rawstudio-2.0-makefile.patch
16Patch1:         rawstudio-2.0-lensfun-0.3.x.patch
17Patch2:         rawstudio-2.0-libpng-1.6.x.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20
21BuildRequires:  gtk2-devel, libxml2-devel, GConf2-devel, dbus-devel
22BuildRequires:  lcms-devel, libjpeg-devel, libtiff-devel, exiv2-devel
23BuildRequires:  flickcurl-devel, lensfun-devel, fftw3-devel, curl-devel
24BuildRequires:  sqlite3-devel, openssl-devel, libgphoto2-devel
25BuildRequires:  desktop-file-utils
26BuildRequires:  intltool
27BuildRequires:  libtool
28
29Distribution: Vine Linux
30Vendor: Project Vine
31Packager: iwaim
32
33%description
34Rawstudio is a highly specialized application for processing RAW images
35from digital cameras. It is not a fully featured image editing application.
36
37The RAW format is often recommended to get the best quality out of digital
38camera images.  The format is specific to cameras and cannot be read by most
39image editing applications.
40
41Rawstudio makes it possible to read and manipulate RAW images, experiment
42with the controls to see how they affect the image, and finally export into
43JPEG, PNG or TIF format images from most digital cameras.
44
45
46%package -n librawstudio-devel
47Summary: librawstudio development files
48Requires: librawstudio = %{version}-%{release}
49Group: Development/Libraries
50
51%description -n librawstudio-devel
52Development files for rawstudio backend library
53
54
55%package -n librawstudio
56Summary: Rawstudio backend library
57Group: System Environment/Libraries
58
59%description -n librawstudio
60Rawstudio backend library
61
62
63%prep
64%setup -q
65%patch0 -p1
66%patch1 -p1
67%patch2 -p1
68
69
70%build
71rm configure
72NOCONFIGURE=1 ./autogen.sh
73%configure --disable-static
74make %{?_smp_mflags}
75
76
77%install
78rm -rf $RPM_BUILD_ROOT
79make install DESTDIR=$RPM_BUILD_ROOT
80%find_lang %{name}
81
82# Remove useless files
83find %{buildroot} -name '*.la' -delete
84
85# Fix desktop file warning
86# Note: the Encoding tag seems to be deprecated in desktop entry specs v1.0
87#       so this has probably to go away in the future
88echo "Encoding=UTF-8" >> ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
89
90desktop-file-install --vendor vine                              \
91        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
92        --remove-category Application                           \
93        --delete-original                                       \
94        ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop
95
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post
101update-desktop-database &> /dev/null ||:
102
103%postun
104update-desktop-database &> /dev/null ||:
105
106
107%files -f %{name}.lang
108%defattr(-,root,root,-)
109%doc README NEWS COPYING AUTHORS
110%{_bindir}/rawstudio
111%{_datadir}/rawstudio
112%{_datadir}/rawspeed
113%{_datadir}/pixmaps/rawstudio
114%{_datadir}/applications/vine-rawstudio.desktop
115%{_datadir}/icons/rawstudio.png
116
117%files -n librawstudio
118%{_libdir}/librawstudio-2.0.so.*
119
120%files -n librawstudio-devel
121%{_includedir}/rawstudio-2.0
122%{_libdir}/librawstudio-2.0.so
123%{_libdir}/pkgconfig/rawstudio-2.0.pc
124
125%changelog
126* Mon Feb 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-6
127- rebuild with ligphoto2-2.5.7
128- add Patch1 (rawstudio-2.0-lensfun-0.3.x.patch)
129- add Patch2 (rawstudio-2.0-libpng-1.6.x.patch)
130
131* Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-5
132- rebuild with exiv2-0.24
133
134* Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 2.0-4
135- build with libgphoto2 2.5.0-1
136- update BR: gphoto2-devel -> libgphoto2-devel
137- fix vendor in desktop-update-install option: fedora -> vine
138
139* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-3
140- rebuild with exiv2-0.23
141
142* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-2
143- rebuild with exiv2-0.22
144- add Patch0 (rawstudio-2.0-makefile.patch)
145
146* Sun Sep  4 2011 IWAI, Masaharu <iwai@alib.jp> 2.0-1
147- build for Vine Linux: based Fedora 2.0-1
148
149* Fri Apr  8 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-1
150- Update to final release
151- remove upstreamed patch
152
153* Sat Mar 26 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-0.1.beta1
154- Update to released beta
155- Split librawstudio library in own package
156
157* Mon Mar 14 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-10
158- update to newer snapshot, another fixed crash
159
160* Mon Feb 21 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-9
161- update to newer snapshot, includes fixes for #635964 and #636919
162- remove upstreamed patch, add new one to remove -Werror
163- require gphoto2
164
165* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8.20100907svn3521
166- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
167
168* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7.20100907svn3521
169- rebuild (exiv2)
170
171* Wed Sep  8 2010 Gianluca Sforna <giallu gmail com>
172- Fix BuildRequires
173- Add updated patch for X11 link issue
174
175* Tue Sep  7 2010 Gianluca Sforna <giallu gmail com>
176- move to a snapshot
177- drop upstreamed patches
178- add find-lang
179- remove .la files
180- disable static library build
181
182* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-5
183- rebuild (exiv2)
184
185* Sat Feb 13 2010 Gianluca Sforna <giallu gmail com> - 1.2-4
186- Add explicit link to libX11 (#564638)
187
188* Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-3
189- rebuild (exiv2)
190
191* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
192- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
193
194* Fri Apr 10 2009 Gianluca Sforna <giallu gmail com> - 1.2-1
195- New upstream release
196
197* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
198- Fix build with newer glibc
199
200* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
201- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
202
203* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-2
204- respin (eviv2)
205
206* Mon Oct 13 2008 Gianluca Sforna <giallu gmail com> - 1.1.1-1
207- new upstream release
208
209* Tue Sep 16 2008 Gianluca Sforna <giallu gmail com> - 1.1-1
210- new upstream release
211
212* Thu May  1 2008 Gianluca Sforna <giallu gmail com> - 1.0-1
213- new upstream release
214- drop upstreamed patch
215- slightly improved summary
216
217* Sun Feb 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-2
218- rebuild with gcc 4.3
219
220* Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
221- New upstream release
222- Improved package description
223- Add fix for PPC build
224
225* Sun Aug 19 2007 Gianluca Sforna <giallu gmail com> 0.6-1
226- New upstream release
227- Updated License field
228- Include new pixmaps directory
229
230* Wed Feb 21 2007 Gianluca Sforna <giallu gmail com> 0.5.1-1
231- New upstream release
232- Fix desktop-file-install warnings
233
234* Tue Feb 06 2007 Gianluca Sforna <giallu gmail com> 0.5-1
235- new upstream version
236- add libtiff-devel BR
237- drop upstreamed patch
238- drop dcraw runtime Require
239
240* Wed Sep 27 2006 Gianluca Sforna <giallu gmail com> 0.4.1-1
241- new upstream version
242- Add DESTDIR patch (and BR: automake)
243- New .desktop file and icon
244
245* Fri Jul 28 2006 Gianluca Sforna <giallu gmail com> 0.3-1
246- Initial package. Adapted from fedora-rpmdevtools template.
Note: See TracBrowser for help on using the repository browser.