SPECS: gjdoc.spec - updated to 0.7.9 - run ldconfig only if with native

qboosh qboosh at pld-linux.org
Tue Jul 22 00:29:54 CEST 2008


Author: qboosh                       Date: Mon Jul 21 22:29:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.7.9
- run ldconfig only if with native

---- Files affected:
SPECS:
   gjdoc.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/gjdoc.spec
diff -u SPECS/gjdoc.spec:1.18 SPECS/gjdoc.spec:1.19
--- SPECS/gjdoc.spec:1.18	Tue Apr  8 10:24:51 2008
+++ SPECS/gjdoc.spec	Tue Jul 22 00:29:49 2008
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with	native	# build native library
+%bcond_with	native	# build native library (needs as-needed fix)
 #
 Summary:	Documentation generation framework for Java source files
 Summary(pl.UTF-8):	Szkielet do generowania dokumentacji dla plików źródłowych w Javie
 Name:		gjdoc
-Version:	0.7.8
+Version:	0.7.9
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		Development/Languages/Java
 Source0:	http://ftp.gnu.org/gnu/classpath/%{name}-%{version}.tar.gz
-# Source0-md5:	a60c6bb229025120412b8a9d69ef1800
+# Source0-md5:	24cade2efe22d5adefcbabb21f094803
 Patch0:		%{name}-info.patch
 URL:		http://www.gnu.org/software/classpath/cp-tools/
 BuildRequires:	antlr >= 2.7.5-3
@@ -80,22 +80,29 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
+%{?with_native:/sbin/ldconfig}
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-/sbin/ldconfig
+%{?with_native:/sbin/ldconfig}
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/gjdoc
 %if %{with native}
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/lib-com-sun-javadoc.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib-com-sun-javadoc.so.0
+%attr(755,root,root) %{_libdir}/lib-com-sun-tools-doclets-Taglet.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib-com-sun-tools-doclets-Taglet.so.0
+%attr(755,root,root) %{_libdir}/lib-gnu-classpath-tools-gjdoc.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib-gnu-classpath-tools-gjdoc.so.0
 %endif
 %{_infodir}/gjdoc.info*
-%{_javadir}/*.jar
+%{_javadir}/com-sun-javadoc-%{version}.jar
+%{_javadir}/com-sun-tools-doclets-Taglet-%{version}.jar
+%{_javadir}/gnu-classpath-tools-gjdoc-%{version}.jar
 %{_mandir}/man1/gjdoc.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -104,6 +111,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2008/07/21 22:29:49  qboosh
+- updated to 0.7.9
+- run ldconfig only if with native
+
 Revision 1.18  2008/04/08 08:24:51  glen
 - unify ftp.gnu.org urls
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gjdoc.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list