Projects
home:Eustace:branches:Eulaceura:Factory
springframework-hateoas
_service:obs_scm:springframework-hateoas.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:springframework-hateoas.spec of Package springframework-hateoas
%global namedreltag .RELEASE %global namedversion %{version}%{?namedreltag} %global oname spring-hateoas Name: springframework-hateoas Version: 0.16.0 Release: 1 Summary: Representations for hyper-text driven REST web services License: ASL 2.0 URL: http://github.com/SpringSource/spring-hateoas Source0: https://github.com/spring-projects/spring-hateoas/archive/%{namedversion}.tar.gz Patch0: springframework-hateoas-0.16.0-jackson2.7.patch BuildRequires: maven-local mvn(com.fasterxml.jackson.core:jackson-annotations) BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) BuildRequires: mvn(com.jayway.jsonpath:json-path) mvn(javax.servlet:javax.servlet-api) BuildRequires: mvn(javax.ws.rs:jsr311-api) mvn(net.sf.cglib:cglib) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.atteo:evo-inflector) BuildRequires: mvn(org.objenesis:objenesis) mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.springframework:spring-aop) mvn(org.springframework:spring-beans) BuildRequires: mvn(org.springframework:spring-context) mvn(org.springframework:spring-core) BuildRequires: mvn(org.springframework:spring-web) mvn(org.springframework:spring-webmvc) BuildRequires: mvn(org.springframework.plugin:spring-plugin-core) %if 0 BuildRequires: mvn(ch.qos.logback:logback-classic) mvn(joda-time:joda-time) mvn(junit:junit) BuildRequires: mvn(net.jadler:jadler-all) mvn(org.hamcrest:hamcrest-library) BuildRequires: mvn(org.mockito:mockito-all) mvn(org.slf4j:jcl-over-slf4j) BuildRequires: mvn(org.springframework:spring-test) mvn(xmlunit:xmlunit) %endif BuildArch: noarch %description This project provides some APIs to ease creating REST representations that follow the HATEOAS principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{oname}-%{namedversion} cp -p src/main/resources/changelog.txt . cp -p src/main/resources/license.txt . cp -p src/main/resources/notice.txt . sed -i 's/\r//' *.txt readme.md %patch0 -p1 %pom_remove_plugin :com.springsource.bundlor.maven %pom_remove_plugin :maven-source-plugin %pom_xpath_remove "pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions" %pom_change_dep :servlet-api javax.servlet:javax.servlet-api:3.1.0 find ./ -name "*.java" -exec sed -i "s/org.springframework.cglib/net.sf.cglib/g" {} + %pom_add_dep net.sf.cglib:cglib %pom_remove_plugin :maven-jar-plugin %pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" %pom_add_plugin org.apache.felix:maven-bundle-plugin . ' <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>org.springframework.hateoas</Bundle-SymbolicName> <Bundle-Name>Spring HATEOAS</Bundle-Name> <Bundle-Vendor>SpringSource</Bundle-Vendor> <Bundle-Version>${project.version}</Bundle-Version> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions>' %pom_remove_dep org.projectlombok:lombok rm -r src/main/java/org/springframework/hateoas/alps/Alps.java \ src/main/java/org/springframework/hateoas/alps/Descriptor.java \ src/main/java/org/springframework/hateoas/alps/Doc.java \ src/main/java/org/springframework/hateoas/alps/Ext.java %mvn_file : %{oname} %build %mvn_build -f %install %mvn_install %files -f .mfiles %doc changelog.txt readme.md %license license.txt notice.txt %files javadoc -f .mfiles-javadoc %license license.txt notice.txt %changelog * Fri Aug 14 2020 wangxiao <wangxiao65@huawei.com> - 0.16.0-1 - 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