SPECS: XaraLX.spec - add examples, desktopfile, rel 1

undefine undefine at pld-linux.org
Tue Mar 21 23:15:51 CET 2006


Author: undefine                     Date: Tue Mar 21 22:15:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add examples, desktopfile, rel 1

---- Files affected:
SPECS:
   XaraLX.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/XaraLX.spec
diff -u SPECS/XaraLX.spec:1.3 SPECS/XaraLX.spec:1.4
--- SPECS/XaraLX.spec:1.3	Tue Mar 21 21:19:25 2006
+++ SPECS/XaraLX.spec	Tue Mar 21 23:15:46 2006
@@ -3,11 +3,12 @@
 Summary(pl):	Edytor obrazów wektorowych Xara Extreme LX
 Name:		XaraLX
 Version:	0.3r693
-Release:	0.1
-License:	GPL
+Release:	1
+License:	GPL with additional note - see LICENSE
 Group:		X11/Applications
 Source0:	http://downloads.xara.com/opensource/%{name}_%{version}.tar.bz2
 # Source0-md5:	70c9490007e2d9914840f937ff28434d
+Source1:	%{name}.desktop
 URL:		http://www.xaraxtreme.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -33,6 +34,17 @@
 przeźroczystości, teraz dostępne w wielu innych produktach. Xara X
 jest także znana z użyteczności i prędkości działania.
 
+%package examples
+Summary:        Examples from Xara Extreme LX
+Summary(pl):    Przykłady z Xara Extreme LX
+Group:          X11/Applications
+
+%description examples
+Examples from Xara Extreme LX.
+
+%description examples -l pl
+Przykłady z Xara Extreme LX.
+
 %prep
 %setup -q
 
@@ -53,12 +65,22 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir}}
+cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc LICENSE
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*.desktop
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/03/21 22:15:46  undefine
+- add examples, desktopfile, rel 1
+
 Revision 1.3  2006/03/21 20:19:25  undefine
 - longer description, BR >= 2.6.2 (?)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/XaraLX.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list