rpms/jgrapht/F-13 import.log, NONE, 1.1 jgrapht.spec, NONE, 1.1 remove_uneccessary_hardcoded_classpath.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mohammed Morsi mmorsi at fedoraproject.org
Tue May 4 18:18:00 UTC 2010


Author: mmorsi

Update of /cvs/pkgs/rpms/jgrapht/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14611/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log jgrapht.spec 
	remove_uneccessary_hardcoded_classpath.patch 
Log Message:
Initial jgrapht import




--- NEW FILE import.log ---
jgrapht-0_8_1-2_fc11:F-13:jgrapht-0.8.1-2.fc11.src.rpm:1272997196


--- NEW FILE jgrapht.spec ---
Name:    jgrapht
Version: 0.8.1
Release: 2%{?dist}
Summary: A free Java graph library that provides mathematical graph objs and algorithms
Group:   Development/Libraries
License: LGPLv2+
URL:     http://jgrapht.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/jgrapht/JGraphT/Version%200.8.1/jgrapht-%{version}.tar.gz
Patch0:  remove_uneccessary_hardcoded_classpath.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: java-devel >= 1.6
BuildRequires: jpackage-utils
BuildRequires: ant
Requires: java
Requires: jpackage-utils

BuildArch: noarch

%description
JGraphT is a free Java graph library that provides mathematical graph-theory 
objects and algorithms.

%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
%patch0

# remove uneccessary dirs/files
# removing touchgraph/jgraph support as we don't currently have deps packaged
rm -rf src/org/jgrapht/demo/ src/org/jgrapht/experimental/touchgraph src/org/jgrapht/ext/JGraphModelAdapter.java

# remove builting jars/classes
find ./ -name '*.jar' -exec rm -f '{}' \; 
find ./ -name '*.class' -exec rm -f '{}' \; 

%build
ant jar
ant javadoc

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}

cp %{name}-jdk1.6.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
ln -s %{_javadir}/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar
%doc license-LGPL.txt README.html

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

%changelog
* Tue Apr  27 2010 <mmorsi at redhat.com> - 0.8.1-2
- use version macro in source uri

* Mon Feb  01 2010  <mmorsi at redhat.com> - 0.8.1-1
- Initial build.

remove_uneccessary_hardcoded_classpath.patch:
 build.xml |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE remove_uneccessary_hardcoded_classpath.patch ---
--- build.xml.orig	2010-02-02 19:06:29.343248719 -0500
+++ build.xml	2010-02-02 19:06:31.486264282 -0500
@@ -267,12 +267,10 @@
   <target name="jar" depends="compile">
     <jar jarfile="${project.jar}" basedir="${build.dir}">
       <manifest>
         <attribute name="Main-Class" 
           value="org.jgrapht.demo.JGraphAdapterDemo"/>
-        <attribute name="Class-Path" 
-          value="lib/${jgraph.jar.name}"/>
         <attribute name="Specification-Title" 
           value="${project.name}"/>
         <attribute name="Specification-Version" 
           value="${project.version}"/>
         <attribute name="Implementation-Version" 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jgrapht/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	30 Apr 2010 17:47:35 -0000	1.1
+++ .cvsignore	4 May 2010 18:18:00 -0000	1.2
@@ -0,0 +1 @@
+jgrapht-0.8.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jgrapht/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	30 Apr 2010 17:47:36 -0000	1.1
+++ sources	4 May 2010 18:18:00 -0000	1.2
@@ -0,0 +1 @@
+e44c68bc56de561b86d1656a3e2c7ea9  jgrapht-0.8.1.tar.gz



More information about the scm-commits mailing list