]>
Commit | Line | Data |
---|---|---|
413b91f1 ER |
1 | Summary: AutoMSN Emoticon Scraper |
2 | Name: automsn | |
3 | Version: 1.1.2 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Applications | |
7 | Source0: http://www.kde-apps.org/content/files/28315-%{name} | |
8 | # Source0-md5: a54f65d6637eee58dc2817ac1d760010 | |
9 | Patch0: %{name}.patch | |
10 | URL: http://www.kde-apps.org/content/show.php?content=28315 | |
11 | BuildRequires: perl-base | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _themedir %{_datadir}/emoticons/AutoMSN | |
16 | ||
17 | %description | |
18 | This Perl script downloads the emoticons (smileys) from | |
19 | messenger.msn.com and sets them up for use in e.g. Kopete. | |
20 | ||
21 | No icons are included here. This simply automates the process of | |
22 | downloading each icon and setting up an appropriate emoticons.xml | |
23 | file. | |
24 | ||
25 | %package -n kde-emoticons-AutoMSN | |
26 | Summary: MSN emoticons for KDE | |
27 | Summary(pl): Emotikony MSN dla KDE | |
28 | License: not distributable | |
29 | Group: Themes | |
30 | URL: http://messenger.msn.com/resource/emoticons.aspx | |
31 | Requires: kdelibs | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description -n kde-emoticons-AutoMSN | |
35 | MSN emoticons for KDE applications. | |
36 | ||
37 | %prep | |
38 | %setup -qcT | |
39 | install %{SOURCE0} automsn | |
40 | %patch0 -p1 | |
41 | ||
42 | %build | |
43 | ./automsn theme < /dev/null | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{_themedir} | |
48 | install -D automsn $RPM_BUILD_ROOT%{_bindir}/automsn | |
49 | cp -a theme/* $RPM_BUILD_ROOT%{_themedir} | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %attr(755,root,root) %{_bindir}/automsn | |
57 | ||
58 | %files -n kde-emoticons-AutoMSN | |
59 | %defattr(644,root,root,755) | |
60 | %{_themedir} |