rpms/libvirt-java/F-10 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 libvirt-java.spec, 1.3, 1.4 sources, 1.3, 1.4 libvirt-0.2.1-gcj-javadoc.patch, 1.2, NONE

Bryan Kearney bkearney at fedoraproject.org
Wed Jul 29 17:21:21 UTC 2009


Author: bkearney

Update of /cvs/pkgs/rpms/libvirt-java/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6753/F-10

Modified Files:
	.cvsignore libvirt-java.spec sources 
Added Files:
	import.log 
Removed Files:
	libvirt-0.2.1-gcj-javadoc.patch 
Log Message:
Version 0.3.0 which moves to JNA



--- NEW FILE import.log ---
libvirt-java-0_3_0-1_fc10:F-10:libvirt-java-0.3.0-1.fc10.src.rpm:1248887984


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt-java/F-10/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	8 Aug 2008 13:06:32 -0000	1.3
+++ .cvsignore	29 Jul 2009 17:21:21 -0000	1.4
@@ -1,2 +1 @@
-libvirt-java-0.2.0.tar.gz
-libvirt-java-0.2.1.tar.gz
+libvirt-java-0.3.0.tar.gz


Index: libvirt-java.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt-java/F-10/libvirt-java.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- libvirt-java.spec	8 Aug 2008 13:23:09 -0000	1.3
+++ libvirt-java.spec	29 Jul 2009 17:21:21 -0000	1.4
@@ -1,21 +1,23 @@
 Summary:	Java bindings for the libvirt virtualization API
 Name:		libvirt-java
-Version:	0.2.1
+Version:	0.3.0
+Prefix:     libvirt
 Release:	1%{?dist}
 License:	LGPLv2+
+BuildArch:  noarch
 Group:		Development/Libraries
-Source:		http://libvirt.org/sources/java/libvirt-java-%{version}.tar.gz
+Source:		http://libvirt.org/sources/java/%{name}-%{version}.tar.gz
 URL:		http://libvirt.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 
+Requires:   jna
 Requires:	libvirt >= 0.4.1
-Requires:	java >= 1.5.0
+Requires:	java >= 1:1.6.0
 Requires:	jpackage-utils
-BuildRequires:	libvirt-devel >= 0.4.1
-BuildRequires:	java-devel >= 1.5.0
-BuildRequires:	pkgconfig
+BuildRequires:	ant
+BuildRequires:	jna
+BuildRequires:	java-devel >= 1:1.6.0
 BuildRequires:	jpackage-utils
-Patch0:		libvirt-0.2.1-gcj-javadoc.patch
 
 #
 # the jpackage-utils should provide a %{java_home} macro
@@ -28,18 +30,17 @@ Libvirt-java is a base framework allowin
 API though the Java programming language.
 It requires libvirt >= 0.4.1
 
-%package	devel
-Summary:	Compressed Java source files for %{name}
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	libvirt-devel >= 0.4.1
-Requires:	pkgconfig
+%package    devel
+Summary:    Compressed Java source files for %{name}
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
 
-%description	devel
+%description    devel
 Libvirt-java is a base framework allowing to use libvirt, the virtualization
 API though the Java programming language. This is the development part needed
 to build applications with Libvirt-java.
 
+
 %package	javadoc
 Summary:	Java documentation for %{name}
 Group:		Development/Documentation
@@ -50,27 +51,19 @@ Requires:	jpackage-utils
 API documentation for %{name}.
 %prep
 %setup -q
-%patch0 -p0
 
 %build
-%configure --with-java-home=%{java_home}
-# javac call is not parallelizable, as a result the same command is
-# run N times in parallel if %{?_smp_mflags} is set up
-make
-
-# fix up the modification date of generated documentation
-find doc -type f -newer ChangeLog | xargs touch -r ChangeLog
+ant build docs
 
 %install
 rm -fr %{buildroot}
+install -d -m0755 %{buildroot}%{_javadir}
+install -d -m0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
+cp target/%{prefix}-%{version}.jar %{buildroot}%{_javadir}
+%{__ln_s} %{_javadir}/%{prefix}-%{version}.jar %{buildroot}%{_javadir}/%{prefix}.jar 
+cp -r target/javadoc %{buildroot}%{_javadocdir}/%{name}-%{version}
 
-make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
 
 %clean
 rm -rf %{buildroot}
@@ -78,26 +71,22 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING NEWS README INSTALL
-%{_libdir}/libvirt_jni*.so.*
-%{_datadir}/java/*.jar
+%{_javadir}/*.jar
 
 %files devel
 %defattr(-,root,root)
-%doc src/*.java
-%{_libdir}/libvirt_jni*.so
-%{_libdir}/pkgconfig/*.pc
+%doc src/test/java/test.java
+
 
 %files javadoc
 %defattr(-,root,root)
-/usr/share/javadoc/%{name}-%{version}
+%{_javadocdir}/%{name}-%{version}
 
 %changelog
-* Fri Aug  8 2008 Daniel Veillard <veillard at redhat.com> - 0.2.1-1.fc10
-- new release 0.2.1
-- avoid leaks
-- adds support for storage APIs
-
-* Fri Jul 18 2008 Daniel Veillard <veillard at redhat.com> - 0.2.0-1.fc10
+* Wed Jul 29 2009 Bryan Kearney <bkearney at redhat.com> - 0.3.0-1
+- refactored the code to use jna (https://jna.dev.java.net/)
+    
+* Fri Jul 18 2008 Daniel Veillard <veillard at redhat.com> - 0.2.0-1
 - new release 0.2.0
 - finished cleanup of APIs
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt-java/F-10/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	8 Aug 2008 13:06:32 -0000	1.3
+++ sources	29 Jul 2009 17:21:21 -0000	1.4
@@ -1 +1 @@
-be9924d794ba428552e8715edb3a4b0f  libvirt-java-0.2.1.tar.gz
+99c18173026f84de4b62345c26e1af7c  libvirt-java-0.3.0.tar.gz


--- libvirt-0.2.1-gcj-javadoc.patch DELETED ---




More information about the fedora-extras-commits mailing list