packages (EMO): emoticons/emoticons.spec - I just have to do something stupid
sparky
sparky at pld-linux.org
Tue May 4 21:15:09 CEST 2010
Author: sparky Date: Tue May 4 19:15:09 2010 GMT
Module: packages Tag: EMO
---- Log message:
- I just have to do something stupid
---- Files affected:
packages/emoticons:
emoticons.spec (1.5 -> 1.5.2.1)
---- Diffs:
================================================================
Index: packages/emoticons/emoticons.spec
diff -u packages/emoticons/emoticons.spec:1.5 packages/emoticons/emoticons.spec:1.5.2.1
--- packages/emoticons/emoticons.spec:1.5 Mon Feb 12 22:23:54 2007
+++ packages/emoticons/emoticons.spec Tue May 4 21:15:04 2010
@@ -1,96 +1,39 @@
# $Revision$, $Date$
-Summary: EmotIcons
-Summary(pl.UTF-8): EmotIkonki
+Summary: Emo tIcons
+Summary(pl.UTF-8): Emo tIkonki
Name: emoticons
-Version: 0.1
-Release: 0.1
-License: GPL (?)
+Version: 0
+Release: 0
+License: Public Domain
Group: Applications/Communications
-Source0: %{name}-gg-031212.tgz
-URL: http://www.gadu.gnu.pl/
-BuildRequires: ImageMagick-coder-png
-BuildRequires: iconv
+URL: http://żal.pl/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-EmoteIcons.
+Emo teIcons.
%description -l pl.UTF-8
-EmotIkonki.
-
-%package kopete-gg
-Summary: Gadu-Gadu emoticons for kopete
-Summary(pl.UTF-8): Emotikonki Gadu-Gadu dla kopete
-Group: X11/Applications/Networking
-Requires: kdenetwork-kopete
-
-%description kopete-gg
-Gadu-Gadu emoticons for kopete.
-
-%description kopete-gg -l pl.UTF-8
-Emotikonki Gadu-Gadu dla kopete.
+Emo tIkonki.
%prep
-%setup -qc
+%if "%{_lib}" == "lib64"
+REASON="alone"
+%else
+REASON="sad"
+%endif
+echo "Executing(%%because_i'm_$REASON): "
-%build
-%{__cc} %{rpmldflags} %{rpmcflags} -o conv conv.c
-
-rm -rf out; mkdir out
-# oryginal emots/2/emots.txt have some errors :(
-cat emots/2/emots.txt | \
- sed 's/<soczek>,/<soczek>"/' | \
- sed 's:("<marzyciel>","oczy.gif"):"<marzyciel>","oczy.gif":' \
- > emots/2/emotsnew.txt
-rm -f emots/2/emots.txt
-
-FILES=`find emots -type f -iname "*.txt"`
-cat $FILES > emots.txt
-
-echo -e -n "<?xml version=\"1.0\"?>\n<messaging-emoticon-map>\n\n" > emoticons.xml.tmp
-./conv emots.txt >> emoticons.xml.tmp
-echo -e -n "</messaging-emoticon-map>\n" >> emoticons.xml.tmp
-
-cat emoticons.xml.tmp | iconv -f cp1250 -t utf-8 > out/emoticons.xml
-FILES=`find emots -type f -iname "*.gif"`
-for FILE in $FILES
-do
- F=`basename $FILE | tr '[:upper:]' '[:lower:]'`
- cp $FILE out/$F
-done
-convert out/wesoly_na.gif out/smile.png
-rm -f out/*_na.*
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/apps/kopete/pics/emoticons/Gadu-Gadu
-
-cp out/* $RPM_BUILD_ROOT%{_datadir}/apps/kopete/pics/emoticons/Gadu-Gadu
+exit 1
%clean
rm -rf $RPM_BUILD_ROOT
-%files kopete-gg
-%defattr(644,root,root,755)
-%{_datadir}/apps/kopete/pics/emoticons/Gadu-Gadu
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.5 2007/02/12 21:23:54 glen
-- tabs in preamble
-
-Revision 1.4 2007/02/12 00:48:47 baggins
-- converted to UTF-8
-
-Revision 1.3 2004/12/15 12:17:16 radek
-- minor License unifications
-
-Revision 1.2 2003/12/21 23:44:31 qboosh
-- pl, missing dir, simplifications
+Revision 1.5.2.1 2010/05/04 19:15:04 sparky
+- I just have to do something stupid
-Revision 1.1 2003/12/12 18:13:43 pascalek
-- initial release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/emoticons/emoticons.spec?r1=1.5&r2=1.5.2.1&f=u
More information about the pld-cvs-commit
mailing list