SPECS: xournal.spec - add desktop file

wolvverine wolvverine at pld-linux.org
Sat Jan 26 07:58:29 CET 2008


Author: wolvverine                   Date: Sat Jan 26 06:58:29 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add desktop file

---- Files affected:
SPECS:
   xournal.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/xournal.spec
diff -u SPECS/xournal.spec:1.6 SPECS/xournal.spec:1.7
--- SPECS/xournal.spec:1.6	Sun Oct 21 04:32:10 2007
+++ SPECS/xournal.spec	Sat Jan 26 07:58:24 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Xournal - aplikacja do tworzenia notatek, szkicowania i prowadzenia dziennika pisakiem
 Name:		xournal
 Version:	0.4.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications
 Source0:	http://dl.sourceforge.net/xournal/%{name}-%{version}.tar.gz
@@ -11,6 +11,7 @@
 URL:		http://xournal.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
+Buildrequires:	rpmbuild(macros) >= 1.357
 BuildRequires:	gtk+2-devel >= 2:2.4
 BuildRequires:	libgnomecanvas-devel >= 2.4
 BuildRequires:	libgnomeprint-devel >= 2.2
@@ -44,6 +45,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -52,6 +56,7 @@
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-01-26 06:58:24  wolvverine
+- add desktop file
+
 Revision 1.6  2007-10-21 02:32:10  wolvverine
 - up to 0.4.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xournal.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list