SPECS: wklej.spec - up to 0.1.6 - Source0 and URL updated - added examples ...

duddits duddits at pld-linux.org
Sat Mar 28 12:14:09 CET 2009


Author: duddits                      Date: Sat Mar 28 11:14:09 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.1.6
- Source0 and URL updated
- added examples subpackage

---- Files affected:
SPECS:
   wklej.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/wklej.spec
diff -u SPECS/wklej.spec:1.1 SPECS/wklej.spec:1.2
--- SPECS/wklej.spec:1.1	Sun Feb  3 12:46:36 2008
+++ SPECS/wklej.spec	Sat Mar 28 12:14:02 2009
@@ -2,13 +2,13 @@
 Summary:	A wklej.org submitter
 Summary(pl.UTF-8):	Aplikacja wysyłająca do wklej.org
 Name:		wklej
-Version:	0.0.9
+Version:	0.1.6
 Release:	1
 License:	GPL v2+
 Group:		Applications
-Source0:	http://wklej.org/apps/%{name}-%{version}.tar.gz
-# Source0-md5:	a5896dbd7b0da6b53e3aebd173346228
-URL:		http://wklej.org/
+Source0:	http://wklej.org/m/apps/%{name}-%{version}.tar.gz
+# Source0-md5:	3b82cdcc9bf68c4c11acd2184368e983
+URL:		http://wklej.org/skrypt/
 Requires:	perl-Config-Simple
 Requires:	perl-libwww
 BuildArch:	noarch
@@ -20,20 +20,37 @@
 %description
 Aplikacja wysyłająca do wklej.org.
 
+%package examples
+Summary:        Scripts for wklej program
+Summary(pl.UTF-8):      Skrypty dla programu wklej
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+
+%description examples
+Scripts for wklej program.
+
+%description examples -l pl.UTF-8
+Skrypty dla programu wklej.
+
 %prep
 %setup -q -c %{name}-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -D %{name}-%{version}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+install wklej $RPM_BUILD_ROOT%{_bindir}/
+install wklej.vim $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/wklej
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -41,5 +58,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/03/28 11:14:02  duddits
+- up to 0.1.6
+- Source0 and URL updated
+- added examples subpackage
+
 Revision 1.1  2008/02/03 11:46:36  arvenil
 - init
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wklej.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list