rpms/plexus-graph/F-9 import.log, NONE, 1.1 plexus-graph.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel (lkundrak) fedora-extras-commits at redhat.com
Wed Jul 23 06:44:11 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/plexus-graph/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15246/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log plexus-graph.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
plexus-graph-0_13_1-1_fc10:F-9:plexus-graph-0.13.1-1.fc10.src.rpm:1216795384


--- NEW FILE plexus-graph.spec ---
# TODO: junit QA tests

%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}

Name:           plexus-graph
Version:        0.13.1
Release:        1%{?dist}
Summary:        Graph data structures manipulation library

Group:          Development/Libraries
License:        CPL
URL:            http://plexus.sourceforge.net/
Source0:        http://download.sourceforge.net/plexus/plexus-src-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       log4j commons-collections java jpackage-utils
BuildRequires:  %{requires} ant java-devel

%if %{with_gcj}
BuildRequires:    java-gcj-compat-devel >= 1.0.31
Requires(post):   java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%else
BuildArch:      noarch
%endif

%description
Plexus is a Java library with specifications and implementations for
generic graph data structures. Like the Java Collections Framework,
vertices and edges are containers for arbitrary user-defined objects. 


%package javadoc
Summary:        Javadocs for %{name}
Group:          Documentation
Requires:       %{name} = %{version}-%{release}
Requires:       jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.


%prep
%setup -q


%build
CLASSPATH=$(build-classpath commons-collections log4j) ant dist javadoc


%install
rm -rf $RPM_BUILD_ROOT

# Directory structure
install -d $RPM_BUILD_ROOT%{_javadir}
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}

# JARs and JavaDoc
install -m 644 build/dist/plexus-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
cp -rp doc/javadoc/. $RPM_BUILD_ROOT%{_javadocdir}/%{name}

# GCJ AOT bits
%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif


%post
%if %{with_gcj}
[ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
%endif


%postun
%if %{with_gcj}
[ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
%endif



%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_javadir}/*
%if %{with_gcj}
%{_libdir}/gcj/%{name}
%endif
%doc CHANGELOG LICENSE README


%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}


%changelog
* Sat Jul 19 2008 Lubomir Rintel (Fedora Astronomy) <lkundrak at fedoraproject.org> - 0.13.1-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/plexus-graph/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Jul 2008 03:04:39 -0000	1.1
+++ .cvsignore	23 Jul 2008 06:43:28 -0000	1.2
@@ -0,0 +1 @@
+plexus-src-0.13.1.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/plexus-graph/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Jul 2008 03:04:39 -0000	1.1
+++ sources	23 Jul 2008 06:43:28 -0000	1.2
@@ -0,0 +1 @@
+a2fc4002dcdb63cc66038bfe7f5753c6  plexus-src-0.13.1.tgz




More information about the fedora-extras-commits mailing list