]> git.pld-linux.org Git - packages/gallery-module-exif.git/blob - gallery-module-exif.spec
- 1.1.0
[packages/gallery-module-exif.git] / gallery-module-exif.spec
1 %define         _module         exif
2 Summary:        EXIF/IPTC module for Gallery
3 Summary(pl.UTF-8):      Moduł do odczytu EXIF/IPTC dla Gallery
4 Name:           gallery-module-%{_module}
5 Version:        1.1.0
6 Release:        0.1
7 License:        GPL
8 Group:          Applications/Publishing
9 Source0:        http://dl.sourceforge.net/gallery/g2-module-%{_module}-%{version}.tar.gz
10 # Source0-md5:  8ca34069e8b34499ef109bd14224f27b
11 URL:            http://codex.gallery2.org/index.php/Gallery2:Modules:exif
12 BuildRequires:  rpmbuild(macros) >= 1.268
13 Requires:       gallery >= 2.1.0
14 Requires:       php(exif)
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
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
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.
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}
This page took 0.066761 seconds and 3 git commands to generate.