|
|
11b7c6 |
%{?scl:%scl_package jnr-unixsocket}
|
|
|
11b7c6 |
%{!?scl:%global pkg_name %{name}}
|
|
|
11b7c6 |
%{?java_common_find_provides_and_requires}
|
|
|
11b7c6 |
|
|
|
11b7c6 |
Name: %{?scl_prefix}jnr-unixsocket
|
|
|
11b7c6 |
Version: 0.8
|
|
|
11b7c6 |
Release: 2.1%{?dist}
|
|
|
11b7c6 |
Summary: Unix sockets for Java
|
|
|
11b7c6 |
Group: Development/Libraries
|
|
|
11b7c6 |
License: ASL 2.0
|
|
|
11b7c6 |
URL: http://github.com/jnr/%{pkg_name}/
|
|
|
11b7c6 |
Source0: https://github.com/jnr/%{pkg_name}/archive/%{version}.tar.gz
|
|
|
11b7c6 |
Source1: MANIFEST.MF
|
|
|
11b7c6 |
Patch0: add-manifest.patch
|
|
|
11b7c6 |
BuildArch: noarch
|
|
|
11b7c6 |
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix}jnr-constants
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix}jnr-enxio
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix}jnr-ffi
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix}jnr-posix
|
|
|
11b7c6 |
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_java_common}maven-local
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-compiler-plugin
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-install-plugin
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-jar-plugin
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-javadoc-plugin
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-surefire-plugin
|
|
|
11b7c6 |
BuildRequires: %{?scl_prefix_maven}maven-surefire-provider-junit
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%description
|
|
|
11b7c6 |
Unix sockets for Java.
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%package javadoc
|
|
|
11b7c6 |
Summary: Javadocs for %{pkg_name}
|
|
|
11b7c6 |
Group: Documentation
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%description javadoc
|
|
|
11b7c6 |
This package contains the API documentation for %{pkg_name}.
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%prep
|
|
|
11b7c6 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
11b7c6 |
%setup -q -n %{pkg_name}-%{version}
|
|
|
11b7c6 |
%patch0
|
|
|
11b7c6 |
cp %{SOURCE1} .
|
|
|
11b7c6 |
|
|
|
11b7c6 |
# remove unnecessary wagon extension
|
|
|
11b7c6 |
%pom_xpath_remove pom:build/pom:extensions
|
|
|
11b7c6 |
|
|
|
11b7c6 |
find ./ -name '*.jar' -delete
|
|
|
11b7c6 |
find ./ -name '*.class' -delete
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%{?scl:EOF}
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%build
|
|
|
11b7c6 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
11b7c6 |
%mvn_build
|
|
|
11b7c6 |
%{?scl:EOF}
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%install
|
|
|
11b7c6 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
11b7c6 |
%mvn_install
|
|
|
11b7c6 |
%{?scl:EOF}
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%files -f .mfiles
|
|
|
11b7c6 |
%doc LICENSE
|
|
|
11b7c6 |
%dir %{_javadir}/%{pkg_name}
|
|
|
11b7c6 |
%dir %{_mavenpomdir}/%{pkg_name}
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%files javadoc -f .mfiles-javadoc
|
|
|
11b7c6 |
%doc LICENSE
|
|
|
11b7c6 |
|
|
|
11b7c6 |
%changelog
|
|
|
11b7c6 |
* Thu Aug 27 2015 Mat Booth <mat.booth@redhat.com> - 0.8-2.1
|
|
|
11b7c6 |
- Fix unowned directories
|
|
|
11b7c6 |
|
|
|
11b7c6 |
* Tue Jun 30 2015 Jeff Johnston <jjohnstn@redhat.com> 0.8-2
|
|
|
11b7c6 |
- SCL-ize package.
|
|
|
11b7c6 |
|
|
|
11b7c6 |
* Tue Jun 30 2015 Jeff Johnston <jjohnstn@redhat.com> 0.8-1
|
|
|
11b7c6 |
- Initial import from rawhide.
|