SPECS: WordNet.spec - more verbose files, packaging fixes

qboosh qboosh at pld-linux.org
Sat Nov 1 13:54:50 CET 2008


Author: qboosh                       Date: Sat Nov  1 12:54:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more verbose files, packaging fixes

---- Files affected:
SPECS:
   WordNet.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/WordNet.spec
diff -u SPECS/WordNet.spec:1.11 SPECS/WordNet.spec:1.12
--- SPECS/WordNet.spec:1.11	Thu Jul 31 01:09:44 2008
+++ SPECS/WordNet.spec	Sat Nov  1 13:54:44 2008
@@ -10,9 +10,9 @@
 # Source0-md5:	89b4db7c6840ce69a8e315a3f83d996b
 Patch0:		%{name}-FHS.patch
 Patch1:		%{name}-shared.patch
-Patch2:     %{name}-dictdir.patch
+Patch2:		%{name}-dictdir.patch
 URL:		http://wordnet.princeton.edu/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	tcl-devel >= 8.4
@@ -92,8 +92,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# dunno. anyone needs this?
-rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
+# just a copy of tk headers
+%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/tk
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -105,7 +106,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog README
 %attr(755,root,root) %{_bindir}/wn
-%attr(755,root,root) %{_libdir}/*.so*
+%attr(755,root,root) %{_libdir}/libWN.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libWN.so.0
 %{_mandir}/man1/wn.1*
 %{_mandir}/man1/wnintro.1*
 %dir %{_datadir}/%{name}
@@ -113,23 +115,31 @@
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so
-%{_libdir}/*.la
-%{_includedir}/*
-# funny. manual is there but no such program. rm -f it?
-%{_mandir}/man1/grind.1*
-%{_mandir}/man[357]/*
+%attr(755,root,root) %{_libdir}/libWN.so
+%{_libdir}/libWN.la
+%{_includedir}/wn.h
+# program not included
+#%{_mandir}/man1/grind.1*
+%{_mandir}/man3/binsrch.3*
+%{_mandir}/man3/morph.3*
+%{_mandir}/man3/wn*.3*
+%{_mandir}/man5/cntlist.5*
+%{_mandir}/man5/lexnames.5*
+%{_mandir}/man5/senseidx.5*
+%{_mandir}/man5/wn*.5*
+%{_mandir}/man7/morphy.7*
+%{_mandir}/man7/uniqbeg.7*
+%{_mandir}/man7/wn*.7*
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libWN.a
 
 %files browser
 %defattr(644,root,root,755)
-%{_datadir}/%{name}/wnres
-# anyone? is this prog needed?
 %attr(755,root,root) %{_bindir}/wishwn
 %attr(755,root,root) %{_bindir}/wnb
+%{_datadir}/%{name}/wnres
 %{_mandir}/man1/wnb.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -138,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008/11/01 12:54:44  qboosh
+- more verbose files, packaging fixes
+
 Revision 1.11  2008/07/30 23:09:44  glen
 - drop something obvous from desc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/WordNet.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list