I tried under 'wc -l *' under openproj_build/license/third-party
$wc -l *
32 antlr.txt
202 Apache-LICENSE-2.0.txt
38 bsd-generic.txt
92 CDDL.txt
213 cpl-1.0.txt
39 groovy.txt
9 iCal4j.txt
246 index.html
97 Jasper-LGPL.txt
29 jgoodies-forms.txt
504 lgpl-2.1.txt
84 sun-jwsdp.txt
13 sun.txt
339 third-party-licenses-with-build-libs.html
25 xstream.txt
1962 total
Two questions here for you
1. Why CDDL.txt, cpl-1.0.txt iCal4j.txt,
third-party-licenses-with-build-libs.html
and xstream.txt are missing?
2. lgpl-2.1.txt should in .bz2 format
-Halton.
On Thu, 2008-09-18 at 11:55 +0800, Jim Li wrote:
> plain text document attachment (openproj.diff)
> Index: core/SUNWopenproj.spec
> ===================================================================
> --- core/SUNWopenproj.spec (revision 356)
> +++ core/SUNWopenproj.spec (working copy)
> @@ -51,6 +51,7 @@
> # openproj only works with j2se 1.5.0. When it works with 1.6.0 the
> # following line should be removed.
> export PATH=/usr/jdk/instances/jdk1.5.0/bin:$PATH
> +cp -r ./openproj_build/license/* .
>
> %if %build_l10n
> LANG_DIR=sun-l10n
> @@ -121,7 +122,6 @@
> mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime
> mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime/packages
> mkdir -p $RPM_BUILD_ROOT%{_datadir}
> -# mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
>
> install openproj_build/resources/openproj $RPM_BUILD_ROOT%{_bindir}
> install openproj_build/dist/openproj.jar $RPM_BUILD_ROOT%{_datadir}/openproj
> @@ -159,6 +159,17 @@
> %{_datadir}/mime/packages/openproj.xml
> %dir %attr(0755, root, bin) %{_mandir}/man1
> %{_mandir}/man1/*
> +%doc(bzip2) index.html
> +%doc(bzip2) third-party/index.html
> +%doc(bzip2) third-party/Apache-LICENSE-2.0.txt
> +%doc third-party/Jasper-LGPL.txt
> +%doc third-party/antlr.txt
> +%doc third-party/bsd-generic.txt
> +%doc third-party/groovy.txt
> +%doc third-party/jgoodies-forms.txt
> +%doc third-party/lgpl-2.1.txt
> +%doc third-party/sun.txt
> +%doc third-party/sun-jwsdp.txt
>
> %if %build_l10n
> %files l10n
> plain text document attachment (SUNWopenproj.copyright)
> Copyright 2008 Sun Microsystems, Inc. All rights reserved.
> Use is subject to license terms.
>
> --------------------------------------------------------------------
>
> Licensing and copyright information for %{name}:
>
> License: Common Public Attribution License Version 1.0
>
> You can find more information in the following directory:
> %{_pkg_docdir}
>
> index.html.bz2: CPAL
> third-party/index.html.bz2: summary of all third party licenses
> third-party/Apache-LICENSE-2.0.txt.bz2: Apache License Version 2.0
> third-party/Jasper-LGPL.txt: JasperReports License, Version 1.0
> thrid-party/antlr.txt: ANTLR
> third-party/bsd-generic.txt: BSD License
> third-party/groovy.txt: Groovy
> third-party/jgoodies-forms.txt: The BSD License for the JGoodies Forms
> third-party/lgpl-2.1.txt: LGPL 2.1
> third-party/sun.txt: Sun Microsystem
> third-party/sun-jwsdp.txt: SUN-JWSDP
>
> The sources of openproj-src-%{version} were downloaded
> from %{SOURCE0.url}