]> git.pld-linux.org Git - packages/ufraw.git/blame - ufraw.spec
- rel 3
[packages/ufraw.git] / ufraw.spec
CommitLineData
a563fb7b 1# TODO:
17c015b1 2# - manual page for ufraw-batch?
9c9c99ea 3#
17c015b1 4Summary: RAW photo loader
06578e68 5Summary(pl.UTF-8): Narzędzie do wczytywania zdjęć w formacie RAW
17c015b1 6Name: ufraw
9c9c99ea 7Version: 0.11
d1d37972 8Release: 3
17c015b1 9License: GPL v2
10750033 10Group: Applications/Graphics
17c015b1 11Source0: http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz
9c9c99ea 12# Source0-md5: e7e5930a872657830a77dc9ddbfce93b
17c015b1 13URL: http://ufraw.sourceforge.net/
cdca803f 14BuildRequires: exiv2-devel >= 0.11-1
88c0041e 15BuildRequires: gimp-devel >= 2.0
17c015b1 16BuildRequires: lcms-devel
9c9c99ea 17BuildRequires: libexif-devel >= 1:0.6.13
17c015b1 18BuildRequires: libjpeg-devel
19BuildRequires: libtiff-devel
9c9c99ea 20Requires(post,preun): GConf2 >= 2.16.0
21Requires(post,postun): desktop-file-utils
22Requires(post,postun): shared-mime-info
17c015b1 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define _plugindir %(gimptool --gimpplugindir)/plug-ins
26
27%description
88c0041e
JB
28UFRaw is a utility to read and manipulate raw images from digital
29cameras. It can be used by itself or as a GIMP plug-in. It reads raw
30images using Dave Coffin's raw conversion utility DCRaw. And it
31supports basic color management using Little CMS, allowing the user to
32apply color profiles.
33
257d172f
JR
34%description -l pl.UTF-8
35UFRaw to narzędzie do czytania i przetwarzania zdjęć w formacie RAW różnych
36aparatów cyfrowych. Może być używane samodzielnie lub jako wtyczka programu
37GIMP. Zdjęcia w formacie RAW są wczytywane za pomocą programu DCRaw Dave'a
38Coffina. Użytkownik ma możliwość stosowania profili kolorów dzięki
28ff74f0 39bibliotece Little CMS.
17c015b1 40
41%package -n gimp-plugin-ufraw
42Summary: RAW photo loader GIMP plugin
06578e68 43Summary(pl.UTF-8): Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW
10750033 44Group: Applications/Graphics
17c015b1 45
46%description -n gimp-plugin-ufraw
47RAW photo loader GIMP plugin.
48
257d172f
JR
49%description -n gimp-plugin-ufraw -l pl.UTF-8
50Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW.
88c0041e 51
17c015b1 52%package batch
53Summary: RAW photo loader batch software
06578e68 54Summary(pl.UTF-8): Program do wsadowego przetwarzania zdjęć w formacie RAW
10750033 55Group: Applications/Graphics
17c015b1 56
57%description batch
88c0041e
JB
58RAW photo loader batch software.
59
257d172f
JR
60%description batch -l pl.UTF-8
61Program do wsadowego przetwarzania zdjęć w formacie RAW.
17c015b1 62
63%prep
64%setup -q
65
66%build
a563fb7b 67%configure \
cdca803f 68 --enable-mime \
9c9c99ea 69 --with-exiv2 \
70 --with-libexif
17c015b1 71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
cdca803f 75install -d $RPM_BUILD_ROOT%{_desktopdir}
17c015b1 76
77%{__make} install \
9c9c99ea 78 DESTDIR=$RPM_BUILD_ROOT \
79 schemasdir=%{_sysconfdir}/gconf/schemas
85870c0b 80
85870c0b 81install ufraw.desktop $RPM_BUILD_ROOT%{_desktopdir}
17c015b1 82
cdca803f
PG
83%find_lang %{name}
84
17c015b1 85%clean
86rm -rf $RPM_BUILD_ROOT
87
9c9c99ea 88%post
89%update_mime_database
90%gconf_schema_install ufraw.schemas
91%update_desktop_database_post
92
93%preun
94%gconf_schema_uninstall ufraw.schemas
95
96%postun
97%update_desktop_database_postun
98%update_mime_database
99
100
cdca803f 101%files -f %{name}.lang
17c015b1 102%defattr(644,root,root,755)
3558306a 103%doc README TODO
17c015b1 104%attr(755,root,root) %{_bindir}/ufraw
9e09925d 105%{_desktopdir}/*.desktop
9c9c99ea 106%{_datadir}/mime/packages/ufraw-mime.xml
17c015b1 107%{_pixmapsdir}/*
9c9c99ea 108%{_sysconfdir}/gconf/schemas/%{name}.schemas
17c015b1 109%{_mandir}/man1/ufraw*
110
111%files -n gimp-plugin-ufraw
112%defattr(644,root,root,755)
113%attr(755,root,root) %{_plugindir}/ufraw-gimp
114
115%files batch
116%defattr(644,root,root,755)
117%attr(755,root,root) %{_bindir}/ufraw-batch
This page took 0.121423 seconds and 4 git commands to generate.