Compare commits
29 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d80fa8e99 | ||
|
|
f8cc5341c2 | ||
|
|
3ea38411f4 | ||
|
|
8f1ae2e9f2 | ||
|
|
2b3431258b | ||
|
|
c85cd87e57 | ||
|
|
44703c6785 | ||
|
|
5aa1377bd4 | ||
|
|
f2d40f50e3 | ||
|
|
9bafe7f87d | ||
|
|
05ee351bf9 | ||
|
|
a1b143d8a3 | ||
|
|
a501b3e866 | ||
|
|
0ed0d4ebd9 | ||
|
|
189f594500 | ||
|
|
dce1e51a11 | ||
|
|
f8849dbf6e | ||
|
|
0462dcb976 | ||
|
|
bdbf7534d5 | ||
|
|
bd69aa8f5c | ||
|
|
2844b25714 | ||
|
|
6ef48c9af8 | ||
|
|
18afb55dd9 | ||
|
|
e5510a7e14 | ||
|
|
c6ee3b6b6b | ||
|
|
3d47e12150 | ||
|
|
85cda2e890 | ||
|
|
953e7d48be | ||
|
|
c4984a72f3 |
4 changed files with 3 additions and 137 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/api-2.2.0.zip
|
||||
3
dead.package
Normal file
3
dead.package
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
2017-04-30: Retired orphaned package, because it was orphaned for
|
||||
more than six weeks.
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
c63a447e8d53fd9ecfe7b8529f49abc5 api-2.2.0.zip
|
||||
135
zanata-api.spec
135
zanata-api.spec
|
|
@ -1,135 +0,0 @@
|
|||
%global shortname api
|
||||
%global submodule zanata-common-%{shortname}
|
||||
|
||||
Name: zanata-%{shortname}
|
||||
Version: 2.2.0
|
||||
Release: 7%{?dist}
|
||||
Summary: Zanata API modules
|
||||
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/zanata/%{name}
|
||||
Source0: https://github.com/zanata/%{name}/archive/%{shortname}-%{version}.zip
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: maven-enforcer-plugin
|
||||
BuildRequires: maven-surefire-provider-testng
|
||||
|
||||
# dependencies in pom
|
||||
BuildRequires: zanata-parent
|
||||
BuildRequires: hamcrest
|
||||
BuildRequires: testng
|
||||
|
||||
# dependencies in zanata-common-api
|
||||
BuildRequires: hibernate-validator
|
||||
BuildRequires: jackson
|
||||
BuildRequires: apache-commons-lang
|
||||
BuildRequires: apache-commons-codec
|
||||
BuildRequires: resteasy
|
||||
%if 0%{?fedora} < 19
|
||||
BuildRequires: apache-james-project
|
||||
%endif
|
||||
BuildRequires: slf4j
|
||||
BuildRequires: jboss-annotations-1.1-api
|
||||
|
||||
|
||||
Requires: hibernate-validator
|
||||
Requires: jackson
|
||||
Requires: apache-commons-lang
|
||||
Requires: apache-commons-codec
|
||||
Requires: resteasy
|
||||
Requires: slf4j
|
||||
Requires: jboss-annotations-1.1-api
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: java
|
||||
|
||||
%description
|
||||
Zanata API modules
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{submodule}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{submodule}.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{shortname}-%{version}
|
||||
%pom_remove_plugin :maven-dependency-plugin %{submodule}
|
||||
|
||||
%build
|
||||
|
||||
# -Dmaven.local.debug=true
|
||||
#%mvn_build --skip-tests
|
||||
%if 0%{?fedora} > 19
|
||||
%mvn_build
|
||||
%endif
|
||||
%if 0%{?fedora} == 19
|
||||
%mvn_build --skip-tests
|
||||
%else
|
||||
mvn-rpmbuild package javadoc:aggregate -Dmaven.test.skip=true
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?fedora} > 18
|
||||
%mvn_install
|
||||
%else
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||
cp -p %{submodule}/target/%{submodule}*-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{submodule}.jar
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
cp -rp target/site/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{submodule}
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
install -pm 644 pom.xml \
|
||||
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||
install -pm 644 %{submodule}/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{submodule}.pom
|
||||
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{submodule}.pom %{submodule}.jar
|
||||
%endif
|
||||
|
||||
%files -f .mfiles
|
||||
%if 0%{?fedora} > 18
|
||||
%dir %{_javadir}/%{name}
|
||||
%endif
|
||||
%doc README.txt
|
||||
|
||||
%if 0%{?fedora} > 18
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%else
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{submodule}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 3 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-7
|
||||
- Remove javadoc subpackage require %{?_isa}
|
||||
|
||||
* Tue Apr 23 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-6
|
||||
- Change license to LGPLv2+ and add subpackage requires according to review
|
||||
|
||||
* Tue Apr 23 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-5
|
||||
- Add BR apache-james-project for f19-
|
||||
|
||||
* Mon Apr 22 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-4
|
||||
- Disable test in f19 due to hamcrest compatibility bug
|
||||
|
||||
* Mon Apr 22 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-3
|
||||
- Add conditional build for f19-
|
||||
|
||||
* Wed Apr 17 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-2
|
||||
- Remove conditional build
|
||||
|
||||
* Wed Feb 27 2013 Patrick Huang <pahuang@redhat.com> 2.2.0-1
|
||||
- Upstream update to version 2.2.0
|
||||
|
||||
* Thu Feb 7 2013 Patrick Huang <pahuang@redhat.com> 2.1.0-1
|
||||
- Initial RPM package
|
||||
Loading…
Add table
Add a link
Reference in a new issue