]> git.pld-linux.org Git - packages/amsn-skins.git/blob - amsn-skins.spec
- default skin updated from 0.98.3 (trayblink defaults only added to theme); rel 4
[packages/amsn-skins.git] / amsn-skins.spec
1 Summary:        Skins for aMSN
2 Name:           amsn-skins
3 Version:        0.1
4 # Never decrease release, as subpackages then do not get an update
5 Release:        4
6 License:        GPL
7 Group:          Themes
8 Source0:        http://downloads.sourceforge.net/project/amsn/amsn/0.98.3/amsn-0.98.3-src.tar.gz
9 # Source0-md5:  4f6e75e422694d2adce68b773b459223
10 Source1:        http://downloads.sourceforge.net/project/amsn/amsn-skins/0.95-skins/aMSN_Live-1.0.tar.gz
11 # Source1-md5:  5079184f1f75d6b53ca6e7577aa5b66d
12 URL:            http://www.amsn-project.net/skins.php
13 Requires:       amsn-skin-Dark_Matter
14 Requires:       amsn-skin-aMSN_Live
15 Requires:       amsn-skin-default
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _appdir         %{_datadir}/amsn
20 %define         skinsdir        %{_appdir}/skins
21
22 %description
23 Skins for aMSN.
24
25 %package -n amsn-skin-default
26 Summary:        aMSN default skin: Sapphire Skin
27 Version:        2.0
28 License:        GPL
29 Group:          Themes
30 URL:            http://www.amsn-project.net/skins.php
31 Provides:       amsn-skin
32
33 %description -n amsn-skin-default
34 Sapphire Skin by Gustavo A. Diaz.
35
36 %package -n amsn-skin-Dark_Matter
37 Summary:        Dark Matter Skin
38 Version:        4.0
39 License:        GPL
40 Group:          Themes
41 URL:            http://www.amsn-project.net/skins.php
42 Provides:       amsn-skin
43
44 %description -n amsn-skin-Dark_Matter
45 Dark Matter Skin for aMSN.
46
47 %package -n amsn-skin-aMSN_Live
48 Summary:        aMSN Live Messenger Skin
49 Version:        1.0
50 License:        GPL
51 Group:          Themes
52 URL:            http://www.amsn-project.net/skins.php
53 Provides:       amsn-skin
54
55 %description -n amsn-skin-aMSN_Live
56 WLMSN look alike skin for aMSN.
57
58 %prep
59 %setup -qc -a1
60
61 # prep skins
62 install -d skins
63 mv amsn-*/skins/default skins
64 mv amsn-*/skins/'Dark Matter 4.0' skins/Dark_Matter
65 mv 'aMSN Live-1.0' skins/aMSN_Live
66
67 # cleanups
68 find skins -name 'winicons' | xargs rm -rv
69 find skins -name '*.xcf' | xargs rm -fv
70
71 # standard GPL license
72 rm skins/aMSN_Live/license
73 rm skins/default/license
74 rm skins/Dark_Matter/license
75
76 # not part of skin, setting up needs patching amsn itself, besides, seems outdated
77 rm -rf skins/aMSN_Live/pixmapmenu
78 rm -rf skins/aMSN_Live/pixmapscroll
79
80 find skins '(' -name '*.txt' -o -name '*.xml' -o -name 'license' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
81 find skins '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT%{skinsdir}
86 cp -a skins/* $RPM_BUILD_ROOT%{skinsdir}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -n amsn-skin-default
92 %defattr(644,root,root,755)
93 %{skinsdir}/default
94
95 %files -n amsn-skin-Dark_Matter
96 %defattr(644,root,root,755)
97 %{skinsdir}/Dark_Matter
98
99 %files -n amsn-skin-aMSN_Live
100 %defattr(644,root,root,755)
101 %{skinsdir}/aMSN_Live
This page took 0.056165 seconds and 3 git commands to generate.