]> git.pld-linux.org Git - packages/XaraLX.git/commitdiff
- add examples, desktopfile, rel 1
authorundefine <undefine@pld-linux.org>
Tue, 21 Mar 2006 22:15:46 +0000 (22:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    XaraLX.spec -> 1.4

XaraLX.spec

index 139fb9a8cbaa0c692a750a64c64b1313112858ea..9288bbed168b29da20a19d5a464195e68a79f03a 100644 (file)
@@ -2,11 +2,12 @@ Summary:      Xara Extreme LX Vector Image Editor
 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
@@ -32,6 +33,17 @@ anty-aliasing, rozbudowane wype
 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
 
@@ -52,9 +64,19 @@ rm -rf $RPM_BUILD_ROOT
 %{__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}
This page took 0.096284 seconds and 4 git commands to generate.