]> git.pld-linux.org Git - packages/ufraw.git/blame - ufraw.spec
- updated exiv2 version, BR: jasper-devel
[packages/ufraw.git] / ufraw.spec
CommitLineData
a563fb7b 1# TODO:
f3048e9a
JB
2# - cinepaint plugin
3#
4# Conditional build:
5%bcond_without gomp # without OpenMP support
9c9c99ea 6#
17c015b1 7Summary: RAW photo loader
06578e68 8Summary(pl.UTF-8): Narzędzie do wczytywania zdjęć w formacie RAW
17c015b1 9Name: ufraw
f23f62f0 10Version: 0.19.1
11Release: 1
f3048e9a 12License: GPL v2+
10750033 13Group: Applications/Graphics
448d35fd 14Source0: http://downloads.sourceforge.net/ufraw/%{name}-%{version}.tar.gz
f23f62f0 15# Source0-md5: fc9e015013e30a198b652d80d156ed49
17c015b1 16URL: http://ufraw.sourceforge.net/
9f11b4a3
TP
17BuildRequires: automake
18BuildRequires: bzip2-devel
19BuildRequires: cfitsio-devel
f3048e9a 20#BuildRequires: cinepaint-devel >= 0.22 (cinepaint-gtk?)
b929210a 21BuildRequires: exiv2-devel >= 0.20
f3048e9a 22%{?with_gomp:BuildRequires: gcc-c++ >= 6:4.2}
db9e44c7 23BuildRequires: gettext-devel
f3048e9a
JB
24BuildRequires: gimp-devel >= 2.6.0
25BuildRequires: glib2-devel >= 1:2.12
26BuildRequires: gtk+2-devel >= 2:2.12
27BuildRequires: gtkimageview-devel >= 1.6
b929210a 28BuildRequires: jasper-devel
f3048e9a
JB
29BuildRequires: lcms-devel >= 1.14
30BuildRequires: lensfun-devel >= 0.2.5
31%{?with_gomp:BuildRequires: libgomp-devel}
17c015b1 32BuildRequires: libjpeg-devel
9f11b4a3 33BuildRequires: libpng-devel
17c015b1 34BuildRequires: libtiff-devel
f3048e9a
JB
35BuildRequires: perl-tools-pod
36BuildRequires: pkgconfig >= 1:0.9.0
9f11b4a3 37BuildRequires: zlib-devel
9c9c99ea 38Requires(post,postun): desktop-file-utils
89bfeae8 39Requires(post,postun): shared-mime-info >= 0.21
448d35fd 40Requires(post,preun): GConf2 >= 2.16.0
b929210a 41Requires: exiv2 >= 0.20
f3048e9a
JB
42Requires: glib2 >= 1:2.12
43Requires: gtk+2 >= 1:2.12
44Requires: gtkimageview >= 1.6
45Requires: lcms >= 1.14
46Requires: lensfun >= 0.2.5
17c015b1 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
9f11b4a3 49%define _plugindir %(gimptool --gimpplugindir)/plug-ins
17c015b1 50
51%description
88c0041e
JB
52UFRaw is a utility to read and manipulate raw images from digital
53cameras. It can be used by itself or as a GIMP plug-in. It reads raw
54images using Dave Coffin's raw conversion utility DCRaw. And it
55supports basic color management using Little CMS, allowing the user to
56apply color profiles.
57
257d172f 58%description -l pl.UTF-8
448d35fd
SP
59UFRaw to narzędzie do czytania i przetwarzania zdjęć w formacie RAW
60różnych aparatów cyfrowych. Może być używane samodzielnie lub jako
61wtyczka programu GIMP. Zdjęcia w formacie RAW są wczytywane za pomocą
62programu DCRaw Dave'a Coffina. Użytkownik ma możliwość stosowania
63profili kolorów dzięki bibliotece Little CMS.
17c015b1 64
17c015b1 65%package batch
66Summary: RAW photo loader batch software
06578e68 67Summary(pl.UTF-8): Program do wsadowego przetwarzania zdjęć w formacie RAW
10750033 68Group: Applications/Graphics
b929210a 69Requires: exiv2 >= 0.20
f3048e9a
JB
70Requires: glib2 >= 1:2.12
71Requires: lcms >= 1.14
72Requires: lensfun >= 0.2.5
17c015b1 73
74%description batch
88c0041e
JB
75RAW photo loader batch software.
76
257d172f
JR
77%description batch -l pl.UTF-8
78Program do wsadowego przetwarzania zdjęć w formacie RAW.
17c015b1 79
f3048e9a
JB
80%package -n gimp-plugin-ufraw
81Summary: RAW photo loader GIMP plugin
82Summary(pl.UTF-8): Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW
83Group: Applications/Graphics
b929210a 84Requires: exiv2 >= 0.20
f3048e9a
JB
85Requires: gimp >= 2.6.0
86Requires: glib2 >= 1:2.12
87Requires: gtk+2 >= 1:2.12
88Requires: gtkimageview >= 1.6
89Requires: lcms >= 1.14
90Requires: lensfun >= 0.2.5
91
92%description -n gimp-plugin-ufraw
93RAW photo loader GIMP plugin.
94
95%description -n gimp-plugin-ufraw -l pl.UTF-8
96Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW.
97
17c015b1 98%prep
99%setup -q
100
101%build
9f11b4a3 102cp -f /usr/share/automake/mkinstalldirs .
a563fb7b 103%configure \
f3048e9a
JB
104 --disable-silent-rules \
105 %{!?with_gomp:--disable-openmp} \
9f11b4a3
TP
106 --enable-contrast \
107 --enable-dst-correction \
108 --enable-extras \
91a13f7d 109 --enable-mime \
9f11b4a3 110 --with-gtk \
d5d26ae3 111 --with-gimp
d651cf46 112
17c015b1 113%{__make}
114
115%install
116rm -rf $RPM_BUILD_ROOT
cdca803f 117install -d $RPM_BUILD_ROOT%{_desktopdir}
17c015b1 118
119%{__make} install \
9c9c99ea 120 DESTDIR=$RPM_BUILD_ROOT \
121 schemasdir=%{_sysconfdir}/gconf/schemas
85870c0b 122
85870c0b 123install ufraw.desktop $RPM_BUILD_ROOT%{_desktopdir}
f3048e9a 124%{__rm} $RPM_BUILD_ROOT%{_bindir}/dcraw
17c015b1 125
cdca803f
PG
126%find_lang %{name}
127
17c015b1 128%clean
129rm -rf $RPM_BUILD_ROOT
130
9c9c99ea 131%post
9c9c99ea 132%gconf_schema_install ufraw.schemas
133%update_desktop_database_post
134
135%preun
136%gconf_schema_uninstall ufraw.schemas
137
138%postun
139%update_desktop_database_postun
9c9c99ea 140
cdca803f 141%files -f %{name}.lang
17c015b1 142%defattr(644,root,root,755)
3558306a 143%doc README TODO
9f11b4a3 144%attr(755,root,root) %{_bindir}/nikon-curve
17c015b1 145%attr(755,root,root) %{_bindir}/ufraw
f3048e9a
JB
146%{_desktopdir}/ufraw.desktop
147%{_pixmapsdir}/ufraw.png
9c9c99ea 148%{_sysconfdir}/gconf/schemas/%{name}.schemas
f3048e9a 149%{_mandir}/man1/ufraw.1*
17c015b1 150
151%files batch
152%defattr(644,root,root,755)
153%attr(755,root,root) %{_bindir}/ufraw-batch
f3048e9a
JB
154
155%files -n gimp-plugin-ufraw
156%defattr(644,root,root,755)
157%attr(755,root,root) %{_plugindir}/ufraw-gimp
This page took 0.057361 seconds and 4 git commands to generate.