]> git.pld-linux.org Git - SPECS.git/blob - mozilla-theme-pinball.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / mozilla-theme-pinball.spec
1 Summary:        Great theme - it doesn't take much space
2 Summary(pl.UTF-8):      Przepiękny motyw - idealny kompromis pomiędzy rozmiarem i czytelnością
3 Name:           mozilla-theme-pinball
4 %define         _realname       pinball
5 Version:        2005.09.17
6 %define         _snap           2005-09-17_1.7
7 Release:        1
8 License:        GPL
9 Group:          X11/Applications/Networking
10 Source0:        http://mozilla-themes.schellen.net/%{_realname}_%{_snap}.jar
11 # Source0-md5:  9c8ad2ebc19bd502ff1a793b425b93b8
12 Source1:        %{_realname}-installed-chrome.txt
13 URL:            http://mozilla-themes.schellen.net/
14 Requires(post,postun):  mozilla >= 5:1.7.3-3
15 Requires(post,postun):  textutils
16 Requires:       mozilla >= 5:1.7
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _chromedir      %{_datadir}/mozilla/chrome
21
22 %description
23 The great theme, very good in low resolutions (800x600) - it doesn't
24 take much space, but it's still nice.
25
26 %description -l pl.UTF-8
27 Przepiękny motyw, który wyśmienicie nadaje się do używania w niskich
28 rozdzielczościach (800x600), gdyż zajmuje niewielką powierzchnię
29 ekranu nie tracąc przy tym na urodzie.
30
31 %prep
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_chromedir}
36
37 install %{SOURCE0} $RPM_BUILD_ROOT%{_chromedir}/%{_realname}.jar
38 install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %post
44 if [ "$1" = 1 ]; then
45         %{_sbindir}/mozilla-chrome+xpcom-generate
46 fi
47
48 %postun
49 [ ! -x %{_sbindir}/mozilla-chrome+xpcom-generate ] || %{_sbindir}/mozilla-chrome+xpcom-generate
50
51 %files
52 %defattr(644,root,root,755)
53 %{_chromedir}/%{_realname}.jar
54 %{_chromedir}/%{_realname}-installed-chrome.txt
This page took 0.08665 seconds and 3 git commands to generate.