]> git.pld-linux.org Git - SPECS.git/blob - seamonkey-theme-mostlycrystal-small.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / seamonkey-theme-mostlycrystal-small.spec
1 %define         _realname       mostlycrystalsmall
2 Summary:        Mostly Crystal for SeaMonkey - small
3 Summary(pl.UTF-8):      Motyw Mostly Crystal do SeaMonkey - wersja 24px
4 Name:           seamonkey-theme-mostlycrystal-small
5 Version:        2006.04.17
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://catthief.com/mozilla/downloads/%{_realname}_sea_1.jar
10 # Source0-md5:  c1a4b3271b9ecf73fe132afcfb78f420
11 Source1:        gen-installed-chrome.sh
12 URL:            http://www.tom-cat.com/mozilla/seamonkey.html
13 Requires(post,postun):  seamonkey >= 1.0
14 Requires(post,postun):  textutils
15 Requires:       seamonkey >= 1.0
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _chromedir      %{_datadir}/seamonkey/chrome
20
21 %description
22 Mostly Crystal is a theme for the SeaMonkey "mostly" from the Crystal
23 SVG (for Linux) icon set designed by Everaldo and includes icons in
24 their original form plus custom-edited composites of the originals.
25
26 %description -l pl.UTF-8
27 Mostly Crystal jest motywem dla SeaMonkeya pochodzącym głównie z
28 zestawu ikon Crystal SVG (for Linux) zaprojektowanego przez Everaldo i
29 zawiera ikony w ich oryginalnej formie oraz własnoręczne modyfikacje.
30
31 %prep
32 %setup -q -c -T
33 install %{SOURCE0} %{_realname}.jar
34 install %{SOURCE1} .
35 ./gen-installed-chrome.sh skin %{_realname}.jar \
36         > %{_realname}-installed-chrome.txt
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_chromedir}
41
42 install %{_realname}.jar $RPM_BUILD_ROOT%{_chromedir}
43 install %{_realname}-installed-chrome.txt $RPM_BUILD_ROOT%{_chromedir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 if [ "$1" = 1 ]; then
50         %{_sbindir}/seamonkey-chrome+xpcom-generate
51 fi
52
53 %postun
54 [ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate
55
56 %files
57 %defattr(644,root,root,755)
58 %{_chromedir}/%{_realname}.jar
59 %{_chromedir}/%{_realname}-installed-chrome.txt
This page took 0.105011 seconds and 3 git commands to generate.