]>
Commit | Line | Data |
---|---|---|
605716de | 1 | Summary: RAW-image converter written using GTK+ |
2 | Summary(pl.UTF-8): Konwerter obrazów RAW napisany z użyciem GTK+ | |
620bd42c | 3 | Name: rawstudio |
dedba9a6 | 4 | Version: 2.0 |
94aef1a1 | 5 | %define _rel 8 |
0da84d99 | 6 | # Keep it for future snapshots because releases are not-so-frequent: |
a6bd8b16 PG |
7 | %define _svnrev 1624 |
8 | %define _snapday 20080130 | |
2efeb6cb | 9 | #Release: 1.%{_svnrev}.%{_snapday}.%{_rel} |
cfb13d1d | 10 | Release: %{_rel} |
ad749255 JB |
11 | License: GPL v2+ |
12 | Group: X11/Applications/Graphics | |
09e53e62 | 13 | # SVN snapshot: |
2efeb6cb | 14 | #Source0: http://rawstudio.org/files/daily/%{name}-%{_snapday}-%{_svnrev}.tar.bz2 |
0da84d99 | 15 | # Original source: |
2efeb6cb | 16 | Source0: http://rawstudio.org/files/release/%{name}-%{version}.tar.gz |
dedba9a6 | 17 | # Source0-md5: b2f86b8ca6b83ad954e3104c4cb89e9b |
48563a58 | 18 | Patch0: %{name}-libpng15.patch |
5e4479dd | 19 | Patch1: am.patch |
620bd42c | 20 | URL: http://rawstudio.org/ |
ad749255 JB |
21 | BuildRequires: GConf2-devel >= 2.0 |
22 | BuildRequires: autoconf | |
23 | BuildRequires: automake | |
fb0c00a7 | 24 | BuildRequires: exiv2-devel |
dedba9a6 | 25 | BuildRequires: fftw3-single-devel |
26 | BuildRequires: flickcurl-devel | |
09e53e62 | 27 | BuildRequires: gettext-devel |
ad749255 | 28 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
620bd42c | 29 | BuildRequires: lcms-devel |
5e4479dd | 30 | BuildRequires: lensfun-devel |
620bd42c | 31 | BuildRequires: libjpeg-devel |
ee017b9c | 32 | BuildRequires: libtiff-devel |
ad749255 JB |
33 | BuildRequires: libxml2-devel >= 2.4 |
34 | BuildRequires: pkgconfig | |
620bd42c PG |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
2efeb6cb | 38 | Rawstudio is an open source raw-image converter written using GTK+ |
39 | library. | |
620bd42c | 40 | |
99c04e01 | 41 | %description -l pl.UTF-8 |
2efeb6cb | 42 | Rawstudio to mający otwarte źródła konwerter obrazów RAW napisany z |
43 | użyciem biblioteki GTK+. | |
ad749255 | 44 | |
dedba9a6 | 45 | %package devel |
46 | Summary: rawstudio devel files | |
67130f8c TP |
47 | Group: X11/Development/Libraries |
48 | Requires: %{name} = %{version}-%{release} | |
dedba9a6 | 49 | |
50 | %description devel | |
67130f8c | 51 | Header files for %{name}. |
dedba9a6 | 52 | |
620bd42c | 53 | %prep |
2efeb6cb | 54 | %setup -q |
48563a58 | 55 | %patch0 -p1 |
5e4479dd | 56 | %patch1 -p1 |
620bd42c PG |
57 | |
58 | %build | |
5e4479dd JR |
59 | %{__libtoolize} |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__autoheader} | |
63 | %{__automake} | |
620bd42c PG |
64 | %configure |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
620bd42c PG |
71 | DESTDIR=$RPM_BUILD_ROOT |
72 | ||
67130f8c TP |
73 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/librawstudio-%{version}.la |
74 | ||
75 | %find_lang %{name} | |
a6bd8b16 | 76 | |
620bd42c PG |
77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
dedba9a6 | 80 | %post -p /sbin/ldconfig |
81 | %postun -p /sbin/ldconfig | |
82 | ||
a6bd8b16 | 83 | %files -f %{name}.lang |
620bd42c PG |
84 | %defattr(644,root,root,755) |
85 | %doc AUTHORS NEWS README TODO | |
86 | %attr(755,root,root) %{_bindir}/%{name} | |
dedba9a6 | 87 | %attr(755,root,root) %{_libdir}/librawstudio-%{version}.so.*.*.* |
88 | %attr(755,root,root) %ghost %{_libdir}/librawstudio-%{version}.so.0 | |
620bd42c | 89 | %{_desktopdir}/%{name}.desktop |
47cac79d | 90 | %dir %{_pixmapsdir}/%{name} |
47cac79d | 91 | %{_pixmapsdir}/%{name}/*.png |
2efeb6cb | 92 | %{_iconsdir}/%{name}.png |
93 | %{_datadir}/%{name} | |
dedba9a6 | 94 | %{_datadir}/rawspeed |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %{_includedir}/%{name}-%{version} | |
99 | %{_libdir}/librawstudio-%{version}.so | |
dedba9a6 | 100 | %{_pkgconfigdir}/%{name}-%{version}.pc |