]> git.pld-linux.org Git - packages/gallery-module-exif.git/blob - gallery-module-exif.spec
- remove bogus R: webapps
[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 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
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.045024 seconds and 3 git commands to generate.