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