Projects
Eulaceura:Mainline:GA
bytelist
_service:obs_scm:bytelist.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:bytelist.spec of Package bytelist
%define __jar_repack %{nil} Name: bytelist Version: 1.0.8 Release: 18 Summary: Java library for lists of bytes License: CPL or GPLv2+ or LGPLv2+ URL: http://github.com/jruby/bytelist Source0: https://github.com/jruby/bytelist/archive/%{version}.tar.gz Source1: https://repo.maven.apache.org/maven2/org/jruby/jcodings/jcodings/1.0.9/jcodings-1.0.9.pom Source2: https://repo.maven.apache.org/maven2/org/jruby/joni/joni/2.1.3/joni-2.1.3.pom Patch0: 0001-add-dependency-package.patch BuildArch: noarch BuildRequires: java-devel, jcodings, jpackage-utils, javapackages-local, junit BuildRequires: maven-local BuildRequires: maven Requires: java-headless, jpackage-utils Conflicts: mvn(org.jruby.jcodings:jcodings) > 1.0.9 Conflicts: mvn(org.jruby.joni:joni) > 2.1.3 Provides: mvn(org.jruby.jcodings:jcodings) = 1.0.9 Provides: mvn(org.jruby.joni:joni) = 2.1.3 %description This module is a small java library for manipulating lists of bytes. %prep %autosetup -p1 cp %{SOURCE1} . cp %{SOURCE2} . find \( -name "*.jar" -o -name "*.class" \) -delete %pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin %build echo "See %{url} for more info about the %{name} project." > README.txt export CLASSPATH=$(build-classpath junit jcodings) install -d lib mvn package -DskipTests -Pdist -Dtar %install install -d -m 755 %{buildroot}%{_javadir}/joni install -d $RPM_BUILD_ROOT%{_javadir} cp -p target/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar cp -arf target/jcodings-1.0.9.jar %{buildroot}%{_javadir}/jcodings.jar cp -arf target/joni-2.1.3.jar %{buildroot}%{_javadir}/joni/joni.jar install -d -m 755 %{buildroot}%{_mavenpomdir}/joni install -d $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom install -pm 644 jcodings-1.0.9.pom %{buildroot}%{_mavenpomdir}/jcodings.pom install -pm 644 joni-2.1.3.pom %{buildroot}%{_mavenpomdir}/joni/joni.pom %add_maven_depmap JPP-%{name}.pom %{name}.jar %add_maven_depmap jcodings.pom jcodings.jar %add_maven_depmap joni/joni.pom joni/joni.jar %check export CLASSPATH=$(build-classpath junit jcodings) %ant test %files %doc README.txt %{_javadir}/* %{_mavenpomdir}/* %{_datadir}/maven-metadata/%{name}.xml %changelog * Wed May 17 2023 Ge Wang <wang__ge@126.com> - 1.0.8-18 - Add dependency package * Tue Feb 11 2020 Shuaishuai Song <songshuaishuai2@huawei.com> - 1.0.8-17 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2