SPECS: automsn.spec - don't use network in default build (added fe...
qboosh
qboosh at pld-linux.org
Tue Mar 21 21:20:43 CET 2006
Author: qboosh Date: Tue Mar 21 20:20:42 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- don't use network in default build (added fetch bcond)
---- Files affected:
SPECS:
automsn.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/automsn.spec
diff -u SPECS/automsn.spec:1.1 SPECS/automsn.spec:1.2
--- SPECS/automsn.spec:1.1 Tue Mar 21 20:38:57 2006
+++ SPECS/automsn.spec Tue Mar 21 21:20:37 2006
@@ -1,5 +1,10 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with fetch # fetch icons and package them
+#
Summary: AutoMSN Emoticon Scraper
+Summary(pl): AutoMSN - narzędzie do wycinania emotikonów
Name: automsn
Version: 1.1.2
Release: 0.1
@@ -23,6 +28,13 @@
downloading each icon and setting up an appropriate emoticons.xml
file.
+%description -l pl
+Ten skrypt Perla ściąga emotikony (uśmieszki) z messenger.msn.com i
+ustawia je do wykorzystania np. w Kopete.
+
+Nie zawiera on ikon. Po prostu automatyzuje proces ściągania każdej
+ikony i właściwej konfiguracji pliku emoticons.xml.
+
%package -n kde-emoticons-AutoMSN
Summary: MSN emoticons for KDE
Summary(pl): Emotikony MSN dla KDE
@@ -35,19 +47,27 @@
%description -n kde-emoticons-AutoMSN
MSN emoticons for KDE applications.
+%description -n kde-emoticons-AutoMSN -l pl
+Emotikony MSN dla aplikacji KDE.
+
%prep
%setup -qcT
install %{SOURCE0} automsn
%patch0 -p1
%build
+%if %{with fetch}
./automsn theme < /dev/null
+%endif
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_themedir}
install -D automsn $RPM_BUILD_ROOT%{_bindir}/automsn
+
+%if %{with fetch}
+install -d $RPM_BUILD_ROOT%{_themedir}
cp -a theme/* $RPM_BUILD_ROOT%{_themedir}
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -56,9 +76,11 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/automsn
+%if %{with fetch}
%files -n kde-emoticons-AutoMSN
%defattr(644,root,root,755)
%{_themedir}
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -66,6 +88,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/03/21 20:20:37 qboosh
+- don't use network in default build (added fetch bcond)
+
Revision 1.1 2006/03/21 19:38:57 glen
- new, tool for using "original" msn emoticons stright from website
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/automsn.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list