]> git.pld-linux.org Git - packages/automsn.git/blame_incremental - automsn.spec
- dropped redundant BuildRoot: definitions
[packages/automsn.git] / automsn.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with fetch # fetch icons and package them
4#
5Summary: AutoMSN Emoticon Scraper
6Summary(pl.UTF-8): AutoMSN - narzędzie do wycinania emotikonów
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
30%description -l pl.UTF-8
31Ten skrypt Perla ściąga emotikony (uśmieszki) z messenger.msn.com i
32ustawia je do wykorzystania np. w Kopete.
33
34Nie zawiera on ikon. Po prostu automatyzuje proces ściągania każdej
35ikony i właściwej konfiguracji pliku emoticons.xml.
36
37%package -n kde-emoticons-AutoMSN
38Summary: MSN emoticons for KDE
39Summary(pl.UTF-8): Emotikony MSN dla KDE
40License: not distributable
41Group: Themes
42URL: http://messenger.msn.com/resource/emoticons.aspx
43Requires: kdelibs
44
45%description -n kde-emoticons-AutoMSN
46MSN emoticons for KDE applications.
47
48%description -n kde-emoticons-AutoMSN -l pl.UTF-8
49Emotikony MSN dla aplikacji KDE.
50
51%prep
52%setup -qcT
53install %{SOURCE0} automsn
54%patch0 -p1
55
56%build
57%if %{with fetch}
58./automsn theme < /dev/null
59%endif
60
61%install
62rm -rf $RPM_BUILD_ROOT
63install -D automsn $RPM_BUILD_ROOT%{_bindir}/automsn
64
65%if %{with fetch}
66install -d $RPM_BUILD_ROOT%{_themedir}
67cp -a theme/* $RPM_BUILD_ROOT%{_themedir}
68%endif
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%attr(755,root,root) %{_bindir}/automsn
76
77%if %{with fetch}
78%files -n kde-emoticons-AutoMSN
79%defattr(644,root,root,755)
80%{_themedir}
81%endif
This page took 0.115865 seconds and 5 git commands to generate.