2013-01-24 08:18:05 +00:00
|
|
|
%global pkgname file-management
|
|
|
|
|
|
|
|
Name: maven-%{pkgname}
|
|
|
|
Version: 1.2.1
|
2013-08-03 09:29:04 +00:00
|
|
|
Release: 7%{?dist}
|
2013-01-24 08:18:05 +00:00
|
|
|
# Maven-shared defines file-management version as 1.2.2
|
|
|
|
Epoch: 1
|
|
|
|
Summary: Maven File Management API
|
|
|
|
License: ASL 2.0
|
|
|
|
# URL is not working now, cached copy at http://web.archive.org/web/20121029070007/http://maven.apache.org/shared/file-management/
|
|
|
|
URL: http://maven.apache.org/shared/%{pkgname}
|
|
|
|
# svn export http://svn.apache.org/repos/asf/maven/shared/tags/file-management-1.2.1
|
|
|
|
# tar caf maven-file-management-1.2.1.tar.xz file-management-1.2.1/
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
# ASL mandates that the licence file be included in redistributed source
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-02-06 19:20:39 +00:00
|
|
|
BuildRequires: maven-local
|
2013-02-19 07:16:14 +00:00
|
|
|
BuildRequires: maven-shared
|
2013-01-24 08:18:05 +00:00
|
|
|
BuildRequires: modello
|
|
|
|
|
|
|
|
Obsoletes: maven-shared-%{pkgname} < %{epoch}:%{version}-%{release}
|
|
|
|
Provides: maven-shared-%{pkgname} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Provides a component for plugins to easily resolve project dependencies.
|
|
|
|
|
|
|
|
This is a replacement package for maven-shared-file-management.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Obsoletes: maven-shared-%{pkgname}-javadoc < %{epoch}:%{version}-%{release}
|
|
|
|
Provides: maven-shared-%{pkgname}-javadoc = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
2013-02-19 07:16:14 +00:00
|
|
|
cp -p %{SOURCE1} LICENSE.txt
|
2013-01-24 08:18:05 +00:00
|
|
|
|
|
|
|
# Need namespace for new version modello
|
|
|
|
# Bug has been filed at http://jira.codehaus.org/browse/MSHARED-234
|
|
|
|
sed -i "s|<model>|<model xmlns=\"http://modello.codehaus.org/MODELLO/1.3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://modello.codehaus.org/MODELLO/1.3.0 http://modello.codehaus.org/xsd/modello-1.3.0.xsd\" xml.namespace=\"..\" xml.schemaLocation=\"..\" xsd.namespace=\"..\" xsd.targetNamespace=\"..\">|" src/main/mdo/fileset.mdo
|
|
|
|
|
2013-02-19 07:16:14 +00:00
|
|
|
# FileSetUtilsTest.testDeleteDanglingSymlink() is expected to fail
|
|
|
|
sed -i /testDeleteDanglingSymlink/,/assert/s/False/True/ `find -name FileSetUtilsTest.java`
|
|
|
|
|
2013-01-24 08:18:05 +00:00
|
|
|
%build
|
2013-02-19 07:16:14 +00:00
|
|
|
%mvn_build
|
2013-01-24 08:18:05 +00:00
|
|
|
|
|
|
|
%install
|
2013-02-19 07:16:14 +00:00
|
|
|
%mvn_install
|
2013-01-24 08:18:05 +00:00
|
|
|
|
2013-02-19 07:16:14 +00:00
|
|
|
%files -f .mfiles
|
2013-01-24 08:18:05 +00:00
|
|
|
%doc LICENSE.txt
|
|
|
|
|
2013-02-19 07:16:14 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
2013-01-24 08:18:05 +00:00
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2013-08-03 09:29:04 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-19 07:16:14 +00:00
|
|
|
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.2.1-6
|
|
|
|
- Build with xmvn
|
|
|
|
|
2013-02-14 06:30:11 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-02-06 19:20:39 +00:00
|
|
|
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:1.2.1-4
|
|
|
|
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
|
- Replace maven BuildRequires with maven-local
|
|
|
|
|
2013-01-24 08:18:05 +00:00
|
|
|
* Fri Jan 18 2013 Tomas Radej <tradej@redhat.com> - 1:1.2.1-3
|
|
|
|
- Added proper Provides/Obsoletes in javadoc
|
|
|
|
- Fixed changelog entries
|
|
|
|
|
|
|
|
* Mon Jan 14 2013 Tomas Radej <tradej@redhat.com> - 1:1.2.1-2
|
|
|
|
- Added licence text
|
|
|
|
- Changed maven target from install to package
|
|
|
|
- Creating directories in Install
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Tomas Radej <tradej@redhat.com> - 1.2.1-1
|
|
|
|
- Initial version
|
|
|
|
|