]> git.pld-linux.org Git - packages/rawstudio.git/blame - rawstudio.spec
- release 8 (by relup.sh)
[packages/rawstudio.git] / rawstudio.spec
CommitLineData
605716de 1Summary: RAW-image converter written using GTK+
2Summary(pl.UTF-8): Konwerter obrazów RAW napisany z użyciem GTK+
620bd42c 3Name: rawstudio
dedba9a6 4Version: 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 10Release: %{_rel}
ad749255
JB
11License: GPL v2+
12Group: 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 16Source0: http://rawstudio.org/files/release/%{name}-%{version}.tar.gz
dedba9a6 17# Source0-md5: b2f86b8ca6b83ad954e3104c4cb89e9b
48563a58 18Patch0: %{name}-libpng15.patch
5e4479dd 19Patch1: am.patch
620bd42c 20URL: http://rawstudio.org/
ad749255
JB
21BuildRequires: GConf2-devel >= 2.0
22BuildRequires: autoconf
23BuildRequires: automake
fb0c00a7 24BuildRequires: exiv2-devel
dedba9a6 25BuildRequires: fftw3-single-devel
26BuildRequires: flickcurl-devel
09e53e62 27BuildRequires: gettext-devel
ad749255 28BuildRequires: gtk+2-devel >= 1:2.0.0
620bd42c 29BuildRequires: lcms-devel
5e4479dd 30BuildRequires: lensfun-devel
620bd42c 31BuildRequires: libjpeg-devel
ee017b9c 32BuildRequires: libtiff-devel
ad749255
JB
33BuildRequires: libxml2-devel >= 2.4
34BuildRequires: pkgconfig
620bd42c
PG
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
2efeb6cb 38Rawstudio is an open source raw-image converter written using GTK+
39library.
620bd42c 40
99c04e01 41%description -l pl.UTF-8
2efeb6cb 42Rawstudio to mający otwarte źródła konwerter obrazów RAW napisany z
43użyciem biblioteki GTK+.
ad749255 44
dedba9a6 45%package devel
46Summary: rawstudio devel files
67130f8c
TP
47Group: X11/Development/Libraries
48Requires: %{name} = %{version}-%{release}
dedba9a6 49
50%description devel
67130f8c 51Header 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
68rm -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
78rm -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
This page took 0.54939 seconds and 4 git commands to generate.