]> git.pld-linux.org Git - packages/automsn.git/blobdiff - automsn.spec
- don't use network in default build (added fetch bcond)
[packages/automsn.git] / automsn.spec
index 73cd78173b5770558e4de1199ef629e68b3b1cd6..a5477d775faabce85b58faf506e60f5d2893863b 100644 (file)
@@ -1,4 +1,9 @@
+#
+# 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
@@ -22,6 +27,13 @@ No icons are included here. This simply automates the process of
 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
@@ -34,19 +46,27 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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
@@ -55,6 +75,8 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.090891 seconds and 4 git commands to generate.