]> git.pld-linux.org Git - packages/ufraw.git/blob - ufraw.spec
- rel 3
[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.11
8 Release:        3
9 License:        GPL v2
10 Group:          Applications/Graphics
11 Source0:        http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz
12 # Source0-md5:  e7e5930a872657830a77dc9ddbfce93b
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
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 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
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
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc README TODO
104 %attr(755,root,root) %{_bindir}/ufraw
105 %{_desktopdir}/*.desktop
106 %{_datadir}/mime/packages/ufraw-mime.xml
107 %{_pixmapsdir}/*
108 %{_sysconfdir}/gconf/schemas/%{name}.schemas
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.114929 seconds and 4 git commands to generate.