Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 636511 Details for
Bug 872103
sigar: Java bindings are missing
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch adding the java bindings
sigar-java.patch (text/plain), 1.68 KB, created by
Martin Bacovsky
on 2012-11-01 09:15:09 UTC
(
hide
)
Description:
Patch adding the java bindings
Filename:
MIME Type:
Creator:
Martin Bacovsky
Created:
2012-11-01 09:15:09 UTC
Size:
1.68 KB
patch
obsolete
>diff -up ./sigar.spec.java ./sigar.spec >--- ./sigar.spec.java 2012-10-31 21:52:19.534938398 +0100 >+++ ./sigar.spec 2012-10-31 22:42:23.465960757 +0100 >@@ -23,7 +23,7 @@ Source0: %{name}-%{version}-%{sigar_hash > > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >-BuildRequires: gcc cmake >+BuildRequires: gcc cmake ant > > Patch100: bz714249-1-cpu-count.patch > Patch101: bz746288-1-cpu-count-arch.patch >@@ -54,6 +54,15 @@ Requires: %{name} = %{version}-%{release > %description devel > Header files for developing against the Sigar API > >+%package java >+License: ASL 2.0 >+Group: Development/Libraries >+Summary: Java bindings for SIGAR - System Information Gatherer And Reporter >+Requires: %{name} = %{version}-%{release} >+ >+%description java >+Java bindings for the Sigar library >+ > %prep > # When using the GitHub tarballs, use: > # setup -q -n hyperic-{name}-{sigar_hash} >@@ -73,6 +82,10 @@ pushd build > make %{?_smp_mflags} > popd > >+pushd bindings/java >+ant >+popd >+ > %install > rm -rf $RPM_BUILD_ROOT > pushd build >@@ -80,6 +93,12 @@ pushd build > make install DESTDIR=$RPM_BUILD_ROOT > popd > >+pushd bindings/java >+%{__mkdir} -p %{buildroot}%{_javadir}/%{name} >+%{__install} -p -m 644 sigar-bin/lib/*.jar %{buildroot}%{_javadir}/%{name} >+%{__install} -p -m 644 sigar-bin/lib/*.so %{buildroot}%{_javadir}/%{name} >+popd >+ > %clean > rm -rf $RPM_BUILD_ROOT > >@@ -97,6 +116,11 @@ rm -rf $RPM_BUILD_ROOT > %{_includedir}/sigar*.h > %doc LICENSE NOTICE AUTHORS > >+%files java >+%defattr(-,root,root,-) >+%{_javadir}/%{name} >+ >+ > %changelog > * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-0.7.git58097d9 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 872103
: 636511 |
658055
|
658098
|
934925