]> git.pld-linux.org Git - packages/gallery-module-exif.git/blob - gallery-module-exif.spec
e4a0c436b19d32ceb132b0b1ff5c1c1b9d08e472
[packages/gallery-module-exif.git] / gallery-module-exif.spec
1 %define         _module         exif
2 Summary:        EXIF/IPTC module for Gallery
3 Summary(pl):    Modu³ do odczytu EXIF/IPTC dla Gallery
4 Name:           gallery-module-%{_module}
5 Version:        1.0.6
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:  94c70c26238b9812c7df7083159c53b8
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 Requires:       webapps
16 Provides:       external-gallery-module
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _appdir         %{_datadir}/gallery/modules/%{_module}
21
22 %description
23 Makes block available to themes for display of EXIF/IPTC metadata from
24 image files. Configure fields to display in site admin. Site admin can
25 also configure whether EXIF description or IPTC keywords are imported
26 into Gallery fields for newly added items.
27
28 %description -l pl
29 Ten modu³ udostêpnia motywom blok do wy¶wietlania metadanych EXIF/IPTC
30 z plików zdjêæ. Wy¶wietlane pola mo¿na konfigurowaæ w panelu
31 administracyjnym. Tam te¿ mo¿na ustawiæ, czy opis EXIF lub s³owa
32 kluczowe IPTC maj± byæ importowane do pól galerii dla nowo dodawanych
33 elementów.
34
35 %prep
36 %setup -q -n modules
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_appdir}
41
42 cd %{_module}
43 cp -R * $RPM_BUILD_ROOT%{_appdir}
44
45 # Cleanups:
46 rm -rf $RPM_BUILD_ROOT%{_appdir}/{MANIFEST,test/}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc %{_module}/test
54 %{_appdir}
This page took 0.042232 seconds and 2 git commands to generate.