]>
Commit | Line | Data |
---|---|---|
0da13aa0 PG |
1 | %define _module exif |
2 | Summary: EXIF/IPTC module for Gallery | |
6119ce88 | 3 | Summary(pl.UTF-8): Moduł do odczytu EXIF/IPTC dla Gallery |
0da13aa0 | 4 | Name: gallery-module-%{_module} |
5a370bb6 PG |
5 | Version: 1.1.0 |
6 | Release: 0.1 | |
0da13aa0 PG |
7 | License: GPL |
8 | Group: Applications/Publishing | |
9 | Source0: http://dl.sourceforge.net/gallery/g2-module-%{_module}-%{version}.tar.gz | |
5a370bb6 | 10 | # Source0-md5: 8ca34069e8b34499ef109bd14224f27b |
0da13aa0 PG |
11 | URL: http://codex.gallery2.org/index.php/Gallery2:Modules:exif |
12 | BuildRequires: rpmbuild(macros) >= 1.268 | |
13 | Requires: gallery >= 2.1.0 | |
f309b524 | 14 | Requires: php(exif) |
0da13aa0 PG |
15 | Provides: external-gallery-module |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define _appdir %{_datadir}/gallery/modules/%{_module} | |
20 | ||
21 | %description | |
0daa0892 JB |
22 | Makes block available to themes for display of EXIF/IPTC metadata from |
23 | image files. Configure fields to display in site admin. Site admin can | |
24 | also configure whether EXIF description or IPTC keywords are imported | |
25 | into Gallery fields for newly added items. | |
26 | ||
07324a61 JR |
27 | %description -l pl.UTF-8 |
28 | Ten moduł udostępnia motywom blok do wyświetlania metadanych EXIF/IPTC | |
29 | z plików zdjęć. Wyświetlane pola można konfigurować w panelu | |
30 | administracyjnym. Tam też można ustawić, czy opis EXIF lub słowa | |
31 | kluczowe IPTC mają być importowane do pól galerii dla nowo dodawanych | |
32 | elementów. | |
0da13aa0 PG |
33 | |
34 | %prep | |
35 | %setup -q -n modules | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_appdir} | |
40 | ||
41 | cd %{_module} | |
42 | cp -R * $RPM_BUILD_ROOT%{_appdir} | |
43 | ||
44 | # Cleanups: | |
45 | rm -rf $RPM_BUILD_ROOT%{_appdir}/{MANIFEST,test/} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc %{_module}/test | |
53 | %{_appdir} |