From: Elan Ruusamäe Date: Tue, 21 Mar 2006 19:38:57 +0000 (+0000) Subject: - new, tool for using "original" msn emoticons stright from website X-Git-Url: http://git.pld-linux.org/?p=packages%2Fautomsn.git;a=commitdiff_plain;h=413b91f11617b1ff6a8e8a2263ad39ece173f19d - new, tool for using "original" msn emoticons stright from website Changed files: automsn.spec -> 1.1 --- diff --git a/automsn.spec b/automsn.spec new file mode 100644 index 0000000..73cd781 --- /dev/null +++ b/automsn.spec @@ -0,0 +1,60 @@ +Summary: AutoMSN Emoticon Scraper +Name: automsn +Version: 1.1.2 +Release: 0.1 +License: GPL +Group: Applications +Source0: http://www.kde-apps.org/content/files/28315-%{name} +# Source0-md5: a54f65d6637eee58dc2817ac1d760010 +Patch0: %{name}.patch +URL: http://www.kde-apps.org/content/show.php?content=28315 +BuildRequires: perl-base +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _themedir %{_datadir}/emoticons/AutoMSN + +%description +This Perl script downloads the emoticons (smileys) from +messenger.msn.com and sets them up for use in e.g. Kopete. + +No icons are included here. This simply automates the process of +downloading each icon and setting up an appropriate emoticons.xml +file. + +%package -n kde-emoticons-AutoMSN +Summary: MSN emoticons for KDE +Summary(pl): Emotikony MSN dla KDE +License: not distributable +Group: Themes +URL: http://messenger.msn.com/resource/emoticons.aspx +Requires: kdelibs +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description -n kde-emoticons-AutoMSN +MSN emoticons for KDE applications. + +%prep +%setup -qcT +install %{SOURCE0} automsn +%patch0 -p1 + +%build +./automsn theme < /dev/null + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_themedir} +install -D automsn $RPM_BUILD_ROOT%{_bindir}/automsn +cp -a theme/* $RPM_BUILD_ROOT%{_themedir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/automsn + +%files -n kde-emoticons-AutoMSN +%defattr(644,root,root,755) +%{_themedir}