SPECS: flex.spec - get rid of @samp{sth} in generated info page (e...

twittner twittner at pld-linux.org
Sun Dec 25 20:10:21 CET 2005


Author: twittner                     Date: Sun Dec 25 19:10:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- get rid of @samp{sth} in generated info page (extended -info.patch)
- added subpkg. with flex examples
- rel. 10

---- Files affected:
SPECS:
   flex.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: SPECS/flex.spec
diff -u SPECS/flex.spec:1.68 SPECS/flex.spec:1.69
--- SPECS/flex.spec:1.68	Sat Mar 26 20:00:55 2005
+++ SPECS/flex.spec	Sun Dec 25 20:10:16 2005
@@ -10,7 +10,7 @@
 Summary(uk):	ű×ÉÄËÉĘ ÇĹÎĹŇÁÔĎŇ ĚĹËÓÉŢÎÉČ ÁÎÁĚŚÚÁÔĎŇŚ× GNU
 Name:		flex
 Version:	2.5.31
-Release:	9
+Release:	10
 License:	BSD-like
 Group:		Development/Tools
 Source0:	http://dl.sourceforge.net/lex/%{name}-%{version}.tar.bz2
@@ -113,6 +113,17 @@
 ÷ÁÍ ÓĚŚÄ ×ÓÔÁÎĎ×ÉÔÉ flex, ŃËÝĎ ×É ÚÂÉŇÁ¤ÔĹÓŘ ×ÉËĎŇÉÓÔĎ×Ő×ÁÔÉ Ó×ĎŔ
 ÓÉÓÔĹÍŐ ÄĚŃ ŇĎÚŇĎÂËÉ ĐŇĎÇŇÁÍ.
 
+%package examples
+Summary:	Flex examples
+Summary(pl):	Przykłady dla fleksa
+Group:		Development/Tools
+
+%description examples
+Flex examples.
+
+%description examples -l pl
+Przykłady dla fleksa.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -142,6 +153,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -152,6 +165,8 @@
 echo .so flex.1 > $RPM_BUILD_ROOT%{_mandir}/man1/lex.1
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+cp -Rf examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %find_lang %{name}
 
 %clean
@@ -175,12 +190,21 @@
 %{_libdir}/*.a
 %{_includedir}/*.h
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2005/12/25 19:10:16  twittner
+- get rid of @samp{sth} in generated info page (extended -info.patch)
+- added subpkg. with flex examples
+- rel. 10
+
 Revision 1.68  2005/03/26 19:00:55  mmazur
 - rel 9 for th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flex.spec?r1=1.68&r2=1.69&f=u



More information about the pld-cvs-commit mailing list