SPECS: alevt.spec - added desktop file - many cosmetics

sparky sparky at pld-linux.org
Tue Jul 11 23:14:41 CEST 2006


Author: sparky                       Date: Tue Jul 11 21:14:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop file
- many cosmetics

---- Files affected:
SPECS:
   alevt.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/alevt.spec
diff -u SPECS/alevt.spec:1.37 SPECS/alevt.spec:1.38
--- SPECS/alevt.spec:1.37	Wed May 11 15:43:38 2005
+++ SPECS/alevt.spec	Tue Jul 11 23:14:36 2006
@@ -9,6 +9,7 @@
 Group:		X11/Applications
 Source0:	http://www.goron.de/~froese/%{name}/%{name}-%{version}.tar.gz
 # Source0-md5:	df6e241c6e2c6505c95d50cde0e1bc73
+Source1:	%{name}.desktop
 Patch0:		%{name}-time-include.patch
 Patch1:		%{name}-time.h.patch
 Patch2:		%{name}-amd64.patch
@@ -41,14 +42,17 @@
 
 %build
 %{__make} \
-	 OPT="%{rpmcflags}"
+	CC="%{__cc}" \
+	OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
 
-install alevt alevt-date alevt-cap ${RPM_BUILD_ROOT}%{_bindir}
+install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%{_bindir}
 install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1
+install contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +62,8 @@
 %doc README CHANGELOG
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
+%{_pixmapsdir}/%{name}.xpm
+%{_desktopdir}/%{name}.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,11 +71,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2006/07/11 21:14:36  sparky
+- added desktop file
+- many cosmetics
+
 Revision 1.37  2005/05/11 13:43:38  qboosh
 - more general lib64 if
 
 Revision 1.36  2005/03/18 16:23:00  darekr
-- simplfied %%prep and %%install a bit
+- simplfied %prep and %install a bit
 
 Revision 1.35  2004/08/10 18:05:02  havner
 - rel 3
@@ -101,10 +111,10 @@
 - new %doc
 
 Revision 1.26  2002/04/25 15:43:07  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.25  2002/04/05 10:54:38  roman
-s/GNU/GPL in License
+- s/GNU/GPL in License
 
 Revision 1.24  2002/02/22 23:28:40  kloczek
 - removed all Group fields translations (our rpm now can handle translating
@@ -114,7 +124,7 @@
 - adding es/pt/pt_BR Group translations
 
 Revision 1.22  2002/01/18 02:12:18  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.21  2001/11/21 08:51:58  saq
 - release 2, rebuild
@@ -130,20 +140,19 @@
 - spec adapterized.
 
 Revision 1.17  2001/07/06 12:28:27  dobrek
--added alevt-time-include.patch
+- added alevt-time-include.patch
 
 Revision 1.16  2001/04/30 16:05:14  kloczek
-- added using %%{rpmcflags} macro.
+- added using %{rpmcflags} macro.
 
 Revision 1.15  2001/04/19 08:54:20  lukasz
 - fixed pl description.
 
 Revision 1.14  2001/01/25 20:03:20  misiek
-
-Massive attack. We use -O0 instead -O flags while debug enabled.
+- Massive attack. We use -O0 instead -O flags while debug enabled.
 
 Revision 1.13  2000/12/23 00:48:42  michuz
-- changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...}
+- changed %{!?debug:...}%{?debug...} to %{?debug:...}%{!?debug...}
   (now it's more C like)
 
 Revision 1.12  2000/10/11 22:48:21  kloczek
@@ -163,7 +172,7 @@
 - release 2, built against libpng >= 1.0.8
 
 Revision 1.7  2000/06/09 07:22:46  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.6  2000/05/17 21:01:20  kloczek
 - spec adapterized.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/alevt.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list