]>
Commit | Line | Data |
---|---|---|
99c83ceb PG |
1 | %define _module map |
2 | Summary: Google Map Integration with Gallery | |
968579b6 | 3 | Summary(pl.UTF-8): Integracja Google Map z Gallery |
99c83ceb PG |
4 | Name: gallery-module-%{_module} |
5 | Version: 0.5.1d | |
351a9b1c | 6 | Release: 0.10 |
99c83ceb PG |
7 | License: GPL |
8 | Group: Applications/Publishing | |
9 | Source0: http://dl.sourceforge.net/gmap-module/%{_module}-module-%{version}.zip | |
10 | # Source0-md5: d5db85c689a24ff09dc0c3d4cf3f6e0f | |
11 | URL: http://gallery.sourceforge.net/ | |
12 | BuildRequires: rpmbuild(macros) >= 1.268 | |
13 | BuildRequires: unzip | |
14 | Requires: gallery >= 2.1.0 | |
351a9b1c | 15 | Requires: php(ctype) |
99c83ceb | 16 | Requires: webapps |
977f347b | 17 | Provides: external-gallery-module |
99c83ceb PG |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define _appdir %{_datadir}/gallery/modules/%{_module} | |
22 | ||
23 | %description | |
69f46f81 JB |
24 | Google Map integration for Gallery. There is a theme that can be used |
25 | on any Gallery 2 albums and turn the display into a Google map. There | |
26 | is also a Module that has many features but the default map shows | |
27 | pictures from every albums. | |
28 | ||
eb772e76 JR |
29 | %description -l pl.UTF-8 |
30 | Integracja Google Map z Gallery. Jest to motyw, który można używać z | |
31 | dowolnymi albumami Gallery 2, zamieniający ekran w mapę Google, a | |
32 | także moduł, który ma wiele możliwości, ale domyślna mapa pokazuje | |
33 | obrazy ze wszystkich albumów. | |
99c83ceb PG |
34 | |
35 | %prep | |
36 | %setup -q -n %{_module} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{_appdir} | |
41 | ||
42 | cp -R * $RPM_BUILD_ROOT%{_appdir} | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc README* | |
99c83ceb | 50 | %{_appdir} |