|
|
4c16c1e |
%global oname oauth
|
|
|
4c16c1e |
Name: java-oauth
|
|
|
4c16c1e |
Version: 20100601
|
|
|
c957b6d |
Release: 12%{?dist}
|
|
|
4c16c1e |
Summary: An open protocol to allow API authentication
|
|
|
4c16c1e |
License: ASL 2.0
|
|
|
4c16c1e |
Url: http://code.google.com/p/oauth/
|
|
|
4c16c1e |
# svn export http://oauth.googlecode.com/svn/code/java oauth-20100601
|
|
|
4c16c1e |
# find oauth-20100601 -name "*.bat" -delete
|
|
|
4c16c1e |
# find oauth-20100601 -name "*.class" -delete
|
|
|
4c16c1e |
# find oauth-20100601 -name "*.jar" -delete
|
|
|
4c16c1e |
# tar czf oauth-20100601-clean-src-svn.tar.gz oauth-20100601
|
|
|
4c16c1e |
Source0: oauth-20100601-clean-src-svn.tar.gz
|
|
|
4c16c1e |
|
|
Stanislav Ochotnicky |
e0075a7 |
BuildRequires: maven-local
|
|
|
2111b09 |
BuildRequires: mvn(commons-httpclient:commons-httpclient)
|
|
|
2111b09 |
BuildRequires: mvn(javax.servlet:javax.servlet-api)
|
|
|
2111b09 |
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
|
|
|
4c16c1e |
|
|
|
4c16c1e |
BuildArch: noarch
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%description
|
|
|
4c16c1e |
An open protocol to allow API authentication
|
|
|
4c16c1e |
in a simple and standard method from desktop and
|
|
|
4c16c1e |
web applications.
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%package javadoc
|
|
|
4c16c1e |
Summary: Javadoc for %{name}
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%description javadoc
|
|
|
4c16c1e |
This package contains javadoc for %{name}.
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%prep
|
|
|
4c16c1e |
%setup -q -n %{oname}-%{version}
|
|
|
2111b09 |
|
|
|
2111b09 |
%pom_remove_plugin :maven-source-plugin
|
|
|
2111b09 |
|
|
|
2111b09 |
%pom_disable_module core-old
|
|
|
2111b09 |
%pom_disable_module example
|
|
|
2111b09 |
%pom_disable_module test core
|
|
|
2111b09 |
# jetty-embedded:6.1.11
|
|
|
2111b09 |
%pom_remove_dep org.mortbay.jetty: core/httpclient4
|
|
|
2111b09 |
%pom_remove_dep org.mortbay.jetty: core/test
|
|
|
2111b09 |
|
|
|
2111b09 |
%pom_xpath_set "pom:dependency[pom:groupId = 'javax.servlet']/pom:version" 3.1.0 core/provider
|
|
|
2111b09 |
%pom_xpath_set "pom:dependency[pom:groupId = 'javax.servlet']/pom:artifactId" javax.servlet-api core/provider
|
|
|
4c16c1e |
|
|
|
909ad60 |
%mvn_file :%{oname} %{oname}/%{oname}
|
|
|
909ad60 |
%mvn_file :%{oname}-consumer %{oname}/%{oname}-consumer
|
|
|
909ad60 |
%mvn_file :%{oname}-httpclient3 %{oname}/%{oname}-httpclient3
|
|
|
909ad60 |
%mvn_file :%{oname}-httpclient4 %{oname}/%{oname}-httpclient4
|
|
|
909ad60 |
%mvn_file :%{oname}-provider %{oname}/%{oname}-provider
|
|
|
79e1992 |
|
|
|
79e1992 |
%build
|
|
|
79e1992 |
|
|
|
4c16c1e |
# unavailable test deps
|
|
|
909ad60 |
%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%install
|
|
|
909ad60 |
%mvn_install
|
|
|
4c16c1e |
|
|
|
909ad60 |
%files -f .mfiles
|
|
|
79e1992 |
%license LICENSE.txt
|
|
|
4c16c1e |
|
|
|
909ad60 |
%files javadoc -f .mfiles-javadoc
|
|
|
79e1992 |
%license LICENSE.txt
|
|
|
4c16c1e |
|
|
|
4c16c1e |
%changelog
|
|
|
c957b6d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20100601-12
|
|
|
c957b6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c957b6d |
|
|
|
a53ebb2 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100601-11
|
|
|
a53ebb2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a53ebb2 |
|
|
|
79e1992 |
* Fri Feb 06 2015 gil cattaneo <puntogil@libero.it> 20100601-10
|
|
|
79e1992 |
- introduce license macro
|
|
|
79e1992 |
|
|
|
63c2227 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100601-9
|
|
|
63c2227 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
63c2227 |
|
|
|
86702ef |
* Wed Apr 02 2014 gil cattaneo <puntogil@libero.it> 20100601-8
|
|
|
86702ef |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
86702ef |
|
|
|
6f9f96c |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100601-7
|
|
|
6f9f96c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6f9f96c |
|
|
|
909ad60 |
* Mon Jul 08 2013 gil cattaneo <puntogil@libero.it> 20100601-6
|
|
|
909ad60 |
- switch to XMvn
|
|
|
909ad60 |
- minor changes to adapt to current guideline
|
|
|
909ad60 |
|
|
|
a27ad49 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100601-5
|
|
|
a27ad49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a27ad49 |
|
|
Stanislav Ochotnicky |
e0075a7 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 20100601-4
|
|
Stanislav Ochotnicky |
e0075a7 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
e0075a7 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
e0075a7 |
|
|
|
811bf5d |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100601-3
|
|
|
811bf5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
811bf5d |
|
|
|
4c16c1e |
* Thu May 24 2012 gil cattaneo <puntogil@libero.it> 20100601-2
|
|
|
4c16c1e |
- renamed java-oauth
|
|
|
4c16c1e |
- moved all of the jar files into oauth subdirectory
|
|
|
4c16c1e |
|
|
|
4c16c1e |
* Fri May 11 2012 gil cattaneo <puntogil@libero.it> 20100601-1
|
|
|
2111b09 |
- initial rpm
|