Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
matthewlib-java
matthewlib-java.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File matthewlib-java.spec of Package matthewlib-java
# # spec file for package matthewlib-java # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define orig_name libmatthew-java Name: matthewlib-java Version: 0.8 Release: 0 Summary: A few useful Java libraries License: MIT Group: Development/Libraries/Java # actual upstream: #URL: http://matthew.ath.cx/projects/java/ #Source0: http://matthew.ath.cx/projects/java/%{name}-%{version}.tar.gz # upstream author is also the debian maintainer for this package. # he gets newer releases into debian before he puts them up on # the upstream website. so we use the "original" source from debian # (ie, the source before debian patches are applied to it) Source0: libmatthew-java-0.8.tar.gz Patch0: install_doc.patch Patch1: classpath_fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: java-devel BuildRequires: jpackage-utils Requires: jpackage-utils Requires: jre >= 1.5.0 Provides: %{orig_name} %description A collection of Java libraries: - Unix Sockets Library This is a collection of classes and native code to allow you to read and write Unix sockets in Java. - Debug Library This is a comprehensive logging and debugging solution. - CGI Library This is a collection of classes and native code to allow you to write CGI applications in Java. - I/O Library This provides a few much needed extensions to the Java I/O subsystem. - Hexdump This class formats byte-arrays in hex and ascii for display. %package javadoc Summary: A few useful Java libraries Group: Development/Libraries/Java %description javadoc A collection of Java libraries: - Unix Sockets Library This is a collection of classes and native code to allow you to read and write Unix sockets in Java. - Debug Library This is a comprehensive logging and debugging solution. - CGI Library This is a collection of classes and native code to allow you to write CGI applications in Java. - I/O Library This provides a few much needed extensions to the Java I/O subsystem. - Hexdump This class formats byte-arrays in hex and ascii for display. %prep %setup -q -n %{orig_name}-%{version} %patch0 -p1 %patch1 -p1 %build make \ CFLAGS='%{optflags} -fpic -std=c99' \ LIBDIR='%{_libdir}' \ LD='gcc' \ JCFLAGS='-target 1.5' %install make install \ DESTDIR=$RPM_BUILD_ROOT \ JARDIR=%{_javadir} \ LIBDIR=%{_libdir}/ \ DOCDIR=%{_javadocdir}/%{name}-%{version} %fdupes -s $RPM_BUILD_ROOT/ %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_javadir}/*jar %{_libdir}/lib*.so* %doc COPYING README %files javadoc %defattr(-,root,root,-) %{_javadocdir}/%{name}-%{version} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor