- converted to UTF-8
[packages/automsn.git] / automsn.spec
CommitLineData
7ddbf382
JB
1#
2# Conditional build:
3%bcond_with fetch # fetch icons and package them
4#
413b91f1 5Summary: AutoMSN Emoticon Scraper
c447e48e 6Summary(pl.UTF-8): AutoMSN - narzędzie do wycinania emotikonów
413b91f1
ER
7Name: automsn
8Version: 1.1.2
9Release: 0.1
10License: GPL
11Group: Applications
12Source0: http://www.kde-apps.org/content/files/28315-%{name}
13# Source0-md5: a54f65d6637eee58dc2817ac1d760010
14Patch0: %{name}.patch
15URL: http://www.kde-apps.org/content/show.php?content=28315
16BuildRequires: perl-base
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define _themedir %{_datadir}/emoticons/AutoMSN
21
22%description
23This Perl script downloads the emoticons (smileys) from
24messenger.msn.com and sets them up for use in e.g. Kopete.
25
26No icons are included here. This simply automates the process of
27downloading each icon and setting up an appropriate emoticons.xml
28file.
29
c447e48e
JR
30%description -l pl.UTF-8
31Ten skrypt Perla ściąga emotikony (uśmieszki) z messenger.msn.com i
7ddbf382
JB
32ustawia je do wykorzystania np. w Kopete.
33
c447e48e
JR
34Nie zawiera on ikon. Po prostu automatyzuje proces ściągania każdej
35ikony i właściwej konfiguracji pliku emoticons.xml.
7ddbf382 36
413b91f1
ER
37%package -n kde-emoticons-AutoMSN
38Summary: MSN emoticons for KDE
c447e48e 39Summary(pl.UTF-8): Emotikony MSN dla KDE
413b91f1
ER
40License: not distributable
41Group: Themes
42URL: http://messenger.msn.com/resource/emoticons.aspx
43Requires: kdelibs
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description -n kde-emoticons-AutoMSN
47MSN emoticons for KDE applications.
48
c447e48e 49%description -n kde-emoticons-AutoMSN -l pl.UTF-8
7ddbf382
JB
50Emotikony MSN dla aplikacji KDE.
51
413b91f1
ER
52%prep
53%setup -qcT
54install %{SOURCE0} automsn
55%patch0 -p1
56
57%build
7ddbf382 58%if %{with fetch}
413b91f1 59./automsn theme < /dev/null
7ddbf382 60%endif
413b91f1
ER
61
62%install
63rm -rf $RPM_BUILD_ROOT
413b91f1 64install -D automsn $RPM_BUILD_ROOT%{_bindir}/automsn
7ddbf382
JB
65
66%if %{with fetch}
67install -d $RPM_BUILD_ROOT%{_themedir}
413b91f1 68cp -a theme/* $RPM_BUILD_ROOT%{_themedir}
7ddbf382 69%endif
413b91f1
ER
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/automsn
77
7ddbf382 78%if %{with fetch}
413b91f1
ER
79%files -n kde-emoticons-AutoMSN
80%defattr(644,root,root,755)
81%{_themedir}
7ddbf382 82%endif
This page took 0.047303 seconds and 4 git commands to generate.