SPECS: noweb.spec - added examples subpackages - most files in %{_libdir}/n...

pawelz pawelz at pld-linux.org
Wed Oct 15 13:22:59 CEST 2008


Author: pawelz                       Date: Wed Oct 15 11:22:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added examples subpackages
- most files in %{_libdir}/noweb are executable

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

---- Diffs:

================================================================
Index: SPECS/noweb.spec
diff -u SPECS/noweb.spec:1.1 SPECS/noweb.spec:1.2
--- SPECS/noweb.spec:1.1	Wed Oct 15 12:42:20 2008
+++ SPECS/noweb.spec	Wed Oct 15 13:22:53 2008
@@ -23,6 +23,18 @@
 noweb jest najprostszym możliwym narzędziem służącym do programowania
 literackiego.
 
+%package examples
+Summary:	noweb examples
+Summary(pl.UTF-8):	Przykładowe dla noweb
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description examples
+noweb examples.
+
+%description -l pl.UTF-8
+Przykładowe programy wykorzystujące noweb.
+
 %prep
 %setup -q
 
@@ -35,6 +47,10 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+
+cp -a  examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 cd src
 # XXX Where to put .el files?
 # ELISP=???
@@ -60,7 +76,25 @@
 %attr(755,root,root) %{_bindir}/noweb
 %attr(755,root,root) %{_bindir}/nuweb2noweb
 
-%{_libdir}/noweb
+%dir %{_libdir}/noweb
+
+%attr(755,root,root) %{_libdir}/noweb/btdefn
+%attr(755,root,root) %{_libdir}/noweb/emptydefn
+%attr(755,root,root) %{_libdir}/noweb/finduses
+%attr(755,root,root) %{_libdir}/noweb/h2a
+%attr(755,root,root) %{_libdir}/noweb/markup
+%attr(755,root,root) %{_libdir}/noweb/mnt
+%attr(755,root,root) %{_libdir}/noweb/noidx
+%attr(755,root,root) %{_libdir}/noweb/nt
+%attr(755,root,root) %{_libdir}/noweb/nwmtime
+%attr(755,root,root) %{_libdir}/noweb/pipedocs
+%attr(755,root,root) %{_libdir}/noweb/toascii
+%attr(755,root,root) %{_libdir}/noweb/tohtml
+%attr(755,root,root) %{_libdir}/noweb/toroff
+%attr(755,root,root) %{_libdir}/noweb/totex
+%attr(755,root,root) %{_libdir}/noweb/unmarkup
+
+%{_libdir}/noweb/tmac.w
 
 %{_mandir}/man1/cpif.1*
 %{_mandir}/man1/htmltoc.1*
@@ -79,6 +113,9 @@
 
 %{_datadir}/texmf/noweb
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +126,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/10/15 11:22:53  pawelz
+- added examples subpackages
+- most files in %{_libdir}/noweb are executable
+
 Revision 1.1  2008/10/15 10:42:20  pawelz
 - initial PLD release
 - where is the correct location for .el files?
================================================================

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



More information about the pld-cvs-commit mailing list