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

Revision 6655, 6.8 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release or rebuild with exiv2-0.23

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