]>
Commit | Line | Data |
---|---|---|
a563fb7b | 1 | # TODO: |
17c015b1 | 2 | # - manual page for ufraw-batch? |
9c9c99ea | 3 | # |
17c015b1 | 4 | Summary: RAW photo loader |
06578e68 | 5 | Summary(pl.UTF-8): Narzędzie do wczytywania zdjęć w formacie RAW |
17c015b1 | 6 | Name: ufraw |
9c9c99ea | 7 | Version: 0.11 |
d1d37972 | 8 | Release: 3 |
17c015b1 | 9 | License: GPL v2 |
10750033 | 10 | Group: Applications/Graphics |
17c015b1 | 11 | Source0: http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz |
9c9c99ea | 12 | # Source0-md5: e7e5930a872657830a77dc9ddbfce93b |
17c015b1 | 13 | URL: http://ufraw.sourceforge.net/ |
cdca803f | 14 | BuildRequires: exiv2-devel >= 0.11-1 |
88c0041e | 15 | BuildRequires: gimp-devel >= 2.0 |
17c015b1 | 16 | BuildRequires: lcms-devel |
9c9c99ea | 17 | BuildRequires: libexif-devel >= 1:0.6.13 |
17c015b1 | 18 | BuildRequires: libjpeg-devel |
19 | BuildRequires: libtiff-devel | |
9c9c99ea | 20 | Requires(post,preun): GConf2 >= 2.16.0 |
21 | Requires(post,postun): desktop-file-utils | |
22 | Requires(post,postun): shared-mime-info | |
17c015b1 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %define _plugindir %(gimptool --gimpplugindir)/plug-ins | |
26 | ||
27 | %description | |
88c0041e JB |
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 | ||
257d172f JR |
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 | |
28ff74f0 | 39 | bibliotece Little CMS. |
17c015b1 | 40 | |
41 | %package -n gimp-plugin-ufraw | |
42 | Summary: RAW photo loader GIMP plugin | |
06578e68 | 43 | Summary(pl.UTF-8): Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW |
10750033 | 44 | Group: Applications/Graphics |
17c015b1 | 45 | |
46 | %description -n gimp-plugin-ufraw | |
47 | RAW photo loader GIMP plugin. | |
48 | ||
257d172f JR |
49 | %description -n gimp-plugin-ufraw -l pl.UTF-8 |
50 | Wtyczka GIMP-a do wczytywania zdjęć w formacie RAW. | |
88c0041e | 51 | |
17c015b1 | 52 | %package batch |
53 | Summary: RAW photo loader batch software | |
06578e68 | 54 | Summary(pl.UTF-8): Program do wsadowego przetwarzania zdjęć w formacie RAW |
10750033 | 55 | Group: Applications/Graphics |
17c015b1 | 56 | |
57 | %description batch | |
88c0041e JB |
58 | RAW photo loader batch software. |
59 | ||
257d172f JR |
60 | %description batch -l pl.UTF-8 |
61 | Program 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 | |
74 | rm -rf $RPM_BUILD_ROOT | |
cdca803f | 75 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
17c015b1 | 76 | |
77 | %{__make} install \ | |
9c9c99ea | 78 | DESTDIR=$RPM_BUILD_ROOT \ |
79 | schemasdir=%{_sysconfdir}/gconf/schemas | |
85870c0b | 80 | |
85870c0b | 81 | install ufraw.desktop $RPM_BUILD_ROOT%{_desktopdir} |
17c015b1 | 82 | |
cdca803f PG |
83 | %find_lang %{name} |
84 | ||
17c015b1 | 85 | %clean |
86 | rm -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 |