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

Revision 9801, 7.4 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild

Line 
1Name:           rawstudio
2Version:        2.0
3Release:        7%{?_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* Wed Nov 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-7
127- rebuild with exiv2-0.25
128
129* Mon Feb 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-6
130- rebuild with ligphoto2-2.5.7
131- add Patch1 (rawstudio-2.0-lensfun-0.3.x.patch)
132- add Patch2 (rawstudio-2.0-libpng-1.6.x.patch)
133
134* Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-5
135- rebuild with exiv2-0.24
136
137* Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 2.0-4
138- build with libgphoto2 2.5.0-1
139- update BR: gphoto2-devel -> libgphoto2-devel
140- fix vendor in desktop-update-install option: fedora -> vine
141
142* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-3
143- rebuild with exiv2-0.23
144
145* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-2
146- rebuild with exiv2-0.22
147- add Patch0 (rawstudio-2.0-makefile.patch)
148
149* Sun Sep  4 2011 IWAI, Masaharu <iwai@alib.jp> 2.0-1
150- build for Vine Linux: based Fedora 2.0-1
151
152* Fri Apr  8 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-1
153- Update to final release
154- remove upstreamed patch
155
156* Sat Mar 26 2011 Gianluca Sforna <giallu@gmail.com> - 2.0-0.1.beta1
157- Update to released beta
158- Split librawstudio library in own package
159
160* Mon Mar 14 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-10
161- update to newer snapshot, another fixed crash
162
163* Mon Feb 21 2011 Gianluca Sforna <giallu@gmail.com> - 1.2-9
164- update to newer snapshot, includes fixes for #635964 and #636919
165- remove upstreamed patch, add new one to remove -Werror
166- require gphoto2
167
168* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8.20100907svn3521
169- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
170
171* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7.20100907svn3521
172- rebuild (exiv2)
173
174* Wed Sep  8 2010 Gianluca Sforna <giallu gmail com>
175- Fix BuildRequires
176- Add updated patch for X11 link issue
177
178* Tue Sep  7 2010 Gianluca Sforna <giallu gmail com>
179- move to a snapshot
180- drop upstreamed patches
181- add find-lang
182- remove .la files
183- disable static library build
184
185* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-5
186- rebuild (exiv2)
187
188* Sat Feb 13 2010 Gianluca Sforna <giallu gmail com> - 1.2-4
189- Add explicit link to libX11 (#564638)
190
191* Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.2-3
192- rebuild (exiv2)
193
194* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
195- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
196
197* Fri Apr 10 2009 Gianluca Sforna <giallu gmail com> - 1.2-1
198- New upstream release
199
200* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
201- Fix build with newer glibc
202
203* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
204- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
205
206* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-2
207- respin (eviv2)
208
209* Mon Oct 13 2008 Gianluca Sforna <giallu gmail com> - 1.1.1-1
210- new upstream release
211
212* Tue Sep 16 2008 Gianluca Sforna <giallu gmail com> - 1.1-1
213- new upstream release
214
215* Thu May  1 2008 Gianluca Sforna <giallu gmail com> - 1.0-1
216- new upstream release
217- drop upstreamed patch
218- slightly improved summary
219
220* Sun Feb 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-2
221- rebuild with gcc 4.3
222
223* Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
224- New upstream release
225- Improved package description
226- Add fix for PPC build
227
228* Sun Aug 19 2007 Gianluca Sforna <giallu gmail com> 0.6-1
229- New upstream release
230- Updated License field
231- Include new pixmaps directory
232
233* Wed Feb 21 2007 Gianluca Sforna <giallu gmail com> 0.5.1-1
234- New upstream release
235- Fix desktop-file-install warnings
236
237* Tue Feb 06 2007 Gianluca Sforna <giallu gmail com> 0.5-1
238- new upstream version
239- add libtiff-devel BR
240- drop upstreamed patch
241- drop dcraw runtime Require
242
243* Wed Sep 27 2006 Gianluca Sforna <giallu gmail com> 0.4.1-1
244- new upstream version
245- Add DESTDIR patch (and BR: automake)
246- New .desktop file and icon
247
248* Fri Jul 28 2006 Gianluca Sforna <giallu gmail com> 0.3-1
249- Initial package. Adapted from fedora-rpmdevtools template.
Note: See TracBrowser for help on using the repository browser.