rpms/osutil/devel osutil.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Dennis Gilmore
ausil at fedoraproject.org
Fri Nov 20 20:04:28 UTC 2009
- Previous message (by thread): rpms/osutil/F-12 osutil.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kernel/F-12 linux-2.6-iommu-dmar-all-1s.patch, NONE, 1.1 kernel.spec, 1.1928, 1.1929
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/pkgs/rpms/osutil/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6074
Modified Files:
.cvsignore sources
Added Files:
osutil.spec
Log Message:
initial setup of osutil
--- NEW FILE osutil.spec ---
Name: osutil
Version: 1.3.0
Release: 3%{?dist}
Summary: Operating System Utilities JNI Package
URL: http://pki.fedoraproject.org/
License: GPLv2 with exceptions
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ant
BuildRequires: bash
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: nspr-devel >= 4.6.99
BuildRequires: nss-devel >= 3.12.3.99
BuildRequires: pkgconfig
Requires: java >= 1:1.6.0
Requires: jpackage-utils
Requires: nss >= 3.12.3.99
Source0: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz
%description
The Operating System Utilities Java Native Interface (JNI) package
supplies various native operating system operations to Java programs.
%prep
%setup -q -n %{name}-%{version}
%build
ant \
-Dproduct.ui.flavor.prefix="" \
-Dproduct.prefix="" \
-Dproduct="%{name}" \
-Dversion="%{version}"
%configure \
%ifarch ppc64 s390x sparc64 x86_64
--enable-64bit \
%endif
--libdir=%{_libdir}
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
## rearrange files to be in the desired native packaging layout
mkdir -p %{buildroot}%{_libdir}/%{name}/
mv %{buildroot}/opt/java/%{name}.jar %{buildroot}%{_libdir}/%{name}/%{name}-%{version}.jar
mv %{buildroot}%{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/%{name}/lib%{name}.so
mkdir -p %{buildroot}%{_jnidir}/
cd %{buildroot}%{_jnidir} ; ln -s %{_libdir}/%{name}/%{name}-%{version}.jar %{name}.jar
## remove unwanted files
rm -rf %{buildroot}/opt
rm -rf %{buildroot}%{_libdir}/lib%{name}.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_jnidir}/*
%{_libdir}/%{name}/
%changelog
* Fri Oct 30 2009 Matthew Harmsen <mharmsen at redhat.com> 1.3.0-3
- Bugzilla Bug #521983 - New package for Dogtag PKI: osutil
- Removed LICENSE logic from installation section
- Take ownership of library directory
* Tue Oct 27 2009 Matthew Harmsen <mharmsen at redhat.com> 1.3.0-2
- Bugzilla Bug #521983 - New package for Dogtag PKI: osutil
- Complied with Fedora JNI packaging logic
* Thu Oct 8 2009 Matthew Harmsen <mharmsen at redhat.com> 1.3.0-1
- Bugzilla Bug #521983 - New package for Dogtag PKI: osutil
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/osutil/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 6 Nov 2009 20:41:29 -0000 1.1
+++ .cvsignore 20 Nov 2009 20:04:27 -0000 1.2
@@ -0,0 +1 @@
+osutil-1.3.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/osutil/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 6 Nov 2009 20:41:29 -0000 1.1
+++ sources 20 Nov 2009 20:04:27 -0000 1.2
@@ -0,0 +1 @@
+b7aa665877d0bb877c5488a9c2c00425 osutil-1.3.0.tar.gz
- Previous message (by thread): rpms/osutil/F-12 osutil.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/kernel/F-12 linux-2.6-iommu-dmar-all-1s.patch, NONE, 1.1 kernel.spec, 1.1928, 1.1929
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list