]>
Commit | Line | Data |
---|---|---|
b015c8a9 PG |
1 | %define _frame carbon |
2 | Summary: Carbon Frame for Gallery2 | |
8cdedcc5 | 3 | Summary(pl.UTF-8): Ramki Carbon dla Gallery2 |
b015c8a9 PG |
4 | Name: gallery-frame-%{_frame} |
5 | Version: 1.0.0 | |
6 | Release: 0.1 | |
7 | License: GPL | |
8 | Group: Applications/Publishing | |
9 | Source0: http://www.mincel.com/carbon/g2-frame-%{_frame}-%{version}.zip | |
10 | # Source0-md5: 9e6223f4b1e156a1145b2dee44e5bdd4 | |
11 | URL: http://www.mincel.com/carbon/ | |
12 | BuildRequires: rpmbuild(macros) >= 1.268 | |
13 | BuildRequires: unzip | |
14 | Requires: gallery >= 2.1.0 | |
15 | # Will be needed when modules will be separated to packages | |
16 | #Requires: gallery-module-imageframe | |
17 | Requires: webapps | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %define _appdir %{_datadir}/gallery/modules/imageframe/frames/%{_frame} | |
22 | ||
23 | %description | |
303a9b3e JB |
24 | I created this image frame for Carbon theme and it is based on Shadow |
25 | image frame. If the colors are suitable it can be used for other | |
26 | themes as well. | |
27 | ||
1fac8e61 JR |
28 | %description -l pl.UTF-8 |
29 | Te ramki zostały stworzone dla motywu Carbon i są oparte na ramkach | |
30 | Shadow. Mogą być używane także dla innych motywów, o ile kolory | |
31 | pasują. | |
b015c8a9 PG |
32 | |
33 | %prep | |
34 | %setup -q -n modules | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_appdir} | |
39 | ||
40 | cd imageframe/frames/%{_frame} | |
41 | cp -R * $RPM_BUILD_ROOT%{_appdir} | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
b015c8a9 | 48 | %{_appdir} |