[RPM (6.0)] [DIST generic] sux4j-3.0.4-1.jpp6

Ralph Apel <[email protected]>
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : sux4j                        Relocations: (not relocatable)
Version     : 3.0.4                             Vendor: JPackage Project
Release     : 1.jpp6                        Build Date: Sun 19 Aug 2012 03:36:20 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 225381                           License: LGPL
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://sux.dsi.unimi.it/
Summary     : Succinct data structures for Java
Description :
sux4j is an implementation of succinct data structure in Java. It provides
a number of related implementations covering ranking/selection over bit
arrays, compressed lists and minimal perfect hashing.

---------------
Ralph Apel <r.apel at r-apel.de> 0:3.0.4-1
- Upgrade to 3.0.4
---------------
sux4j.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

---------------
Index: sux4j.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/sux4j/sux4j.spec,v
retrieving revision 1.5
diff -u -r1.5 sux4j.spec
--- sux4j.spec	1 Oct 2008 13:18:38 -0000	1.5
+++ sux4j.spec	19 Aug 2012 13:44:20 -0000
@@ -1,20 +1,75 @@
+# Copyright (c) 2000-2012, JPackage Project
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the
+#    distribution.
+# 3. Neither the name of the JPackage Project nor the names of its
+#    contributors may be used to endorse or promote products derived
+#    from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
 %define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           sux4j
-Version:        1.0.3
-Release:        1jpp
+Version:        3.0.4
+Release:        1%{?dist}
 Epoch:          0
 Summary:        Succinct data structures for Java
 License:        LGPL
 Source0:        http://sux.dsi.unimi.it/%{name}-%{version}-src.tar.gz
 URL:            http://sux.dsi.unimi.it/
 Group:          Development/Libraries/Java
-Distribution:   JPackage
-Vendor:         JPackage Project
 BuildArch:      noarch
-Requires:       fastutil5 >= 5.1.5, java >= 1.5.0, dsiutils >= 1.0.6, colt >= 0:1.1.0, jsap, junit, log4j
-BuildRequires:  ant, jpackage-utils >= 0:1.6, /bin/bash
-BuildRequires:  java-devel >= 1.5.0, java-javadoc fastutil5-javadoc dsiutils-javadoc colt-javadoc jsap-javadoc junit-javadoc log4j-javadoc
+Requires:       fastutil6 >= 0:6.4.3
+Requires:       java >= 0:1.6.0
+Requires:       dsiutils >= 0:2.0.7
+Requires:       colt >= 0:1.2.0
+Requires:       jsap >= 2.1
+Requires:       junit4
+Requires:       log4j
+Requires:       apache-commons-collections 
+BuildRequires:  fastutil6 >= 0:6.4.3
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  dsiutils >= 0:2.0.7
+BuildRequires:  colt >= 0:1.2.0
+BuildRequires:  jsap >= 2.1
+BuildRequires:  junit4
+BuildRequires:  log4j, jakarta-commons-collections 
+BuildRequires:  apache-commons-collections 
+BuildRequires:  ant >= 0:1.7.1
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  /bin/bash
+BuildRequires:  java-javadoc
+BuildRequires:  fastutil6-javadoc
+BuildRequires:  dsiutils-javadoc
+BuildRequires:  colt-javadoc
+BuildRequires:  jsap-javadoc
+BuildRequires:  junit4-javadoc
+BuildRequires:  log4j-javadoc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 %description
@@ -31,18 +86,11 @@
 
 %prep
 %setup -q
+mkdir -p jars/build
 
 %build
-export CLASSPATH=%(build-classpath fastutil5 dsiutils colt jsap log4j)
-ant \
-  -Dj2se.apiurl=%{_javadocdir}/java \
-  -Dfastutil.apiurl=%{_javadocdir}/fastutil5 \
-  -Ddsiutils.apiurl=%{_javadocdir}/dsiutils \
-  -Dcolt.apiurl=%{_javadocdir}/colt \
-  -Dlog4j.apiurl=%{_javadocdir}/log4j \
-  -Djsap.apiurl=%{_javadocdir}/jsap \
-  -Djunit.apiurl=%{_javadocdir}/junit \
-  jar javadoc
+export CLASSPATH=$(build-classpath fastutil6 dsiutils colt jsap junit4 log4j commons-collections)
+ant -Dbuild.sysclasspath=first jar javadoc
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,22 +106,22 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
-%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
- 
 %files
 %defattr(0644,root,root,0755)
-%doc CHANGES COPYING.LIB
+%doc CHANGES COPYING.LESSER
 %{_javadir}/*.jar
 
 %files javadoc
 %defattr(0644,root,root,0755)
-%{_javadocdir}/%{name}-%{version}
-%ghost %doc %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}-%{version}
+%doc %{_javadocdir}/%{name}
 
 %changelog
+* Sun Aug 19 2012 Ralph Apel <r.apel at r-apel.de> 0:3.0.4-1
+- Upgrade to 3.0.4
+
+* Mon Apr 6 2009 Sebastiano Vigna <vigna at acm.org> 0:2.0-1.jpp5
+- Upgrade to 2.0
 * Wed Oct 1 2008 Sebastiano Vigna <vigna at acm.org> 0:1.0.3-1jpp
 - Upgrade to 1.0.3
 * Sun Jul 13 2008 Sebastiano Vigna <vigna at acm.org> 0:1.0.2-1jpp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.