|
|
3fd143 |
Name: librepository
|
|
|
3fd143 |
Version: 1.1.3
|
|
|
222114 |
Release: 9%{?dist}
|
|
|
3fd143 |
Summary: Hierarchical repository abstraction layer
|
|
|
3fd143 |
License: LGPLv2
|
|
|
3fd143 |
Group: System Environment/Libraries
|
|
|
3fd143 |
#Original source: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.zip
|
|
|
3fd143 |
#unzip, find . -name "*.jar" -exec rm {} \;
|
|
|
3fd143 |
#to simplify the licensing
|
|
|
3fd143 |
Source: %{name}-%{version}-jarsdeleted.zip
|
|
|
3fd143 |
URL: http://reporting.pentaho.org/
|
|
|
222114 |
BuildRequires: ant, ant-contrib, java-devel, jpackage-utils, libbase >= 1.1.3
|
|
|
3fd143 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3fd143 |
Requires: java, jpackage-utils, libbase >= 1.1.3
|
|
|
3fd143 |
BuildArch: noarch
|
|
|
3fd143 |
Patch0: librepository-1.1.2.build.patch
|
|
|
3fd143 |
|
|
|
3fd143 |
%description
|
|
|
3fd143 |
LibRepository provides a simple abstraction layer to access bulk content that
|
|
|
3fd143 |
is organized in a hierarchical layer.
|
|
|
3fd143 |
|
|
|
3fd143 |
%package javadoc
|
|
|
3fd143 |
Summary: Javadoc for %{name}
|
|
|
3fd143 |
Group: Development/Documentation
|
|
|
3fd143 |
Requires: %{name} = %{version}-%{release}
|
|
|
3fd143 |
Requires: jpackage-utils
|
|
|
3fd143 |
|
|
|
3fd143 |
%description javadoc
|
|
|
3fd143 |
Javadoc for %{name}.
|
|
|
3fd143 |
|
|
|
3fd143 |
%prep
|
|
|
3fd143 |
%setup -q -c
|
|
|
3fd143 |
%patch0 -p1 -b .build
|
|
|
3fd143 |
find . -name "*.jar" -exec rm -f {} \;
|
|
|
3fd143 |
mkdir -p lib
|
|
|
3fd143 |
build-jar-repository -s -p lib commons-logging-api libbase
|
|
|
3fd143 |
cd lib
|
|
|
3fd143 |
ln -s %{_javadir}/ant ant-contrib
|
|
|
3fd143 |
|
|
|
3fd143 |
%build
|
|
|
3fd143 |
ant jar javadoc
|
|
|
3fd143 |
for file in README.txt licence-LGPL.txt ChangeLog.txt; do
|
|
|
3fd143 |
tr -d '\r' < $file > $file.new
|
|
|
3fd143 |
mv $file.new $file
|
|
|
3fd143 |
done
|
|
|
3fd143 |
|
|
|
3fd143 |
%install
|
|
|
3fd143 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3fd143 |
|
|
|
3fd143 |
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
|
|
3fd143 |
cp -p ./dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}
|
|
|
3fd143 |
pushd $RPM_BUILD_ROOT%{_javadir}
|
|
|
3fd143 |
ln -s %{name}-%{version}.jar %{name}.jar
|
|
|
3fd143 |
popd
|
|
|
3fd143 |
|
|
|
3fd143 |
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
3fd143 |
cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
3fd143 |
|
|
|
3fd143 |
%clean
|
|
|
3fd143 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3fd143 |
|
|
|
3fd143 |
%files
|
|
|
3fd143 |
%defattr(0644,root,root,0755)
|
|
|
3fd143 |
%doc licence-LGPL.txt README.txt ChangeLog.txt
|
|
|
3fd143 |
%{_javadir}/%{name}-%{version}.jar
|
|
|
3fd143 |
%{_javadir}/%{name}.jar
|
|
|
3fd143 |
|
|
|
3fd143 |
%files javadoc
|
|
|
3fd143 |
%defattr(0644,root,root,0755)
|
|
|
3fd143 |
%{_javadocdir}/%{name}
|
|
|
3fd143 |
|
|
|
3fd143 |
%changelog
|
|
|
222114 |
* Wed Jan 08 2014 Caolán McNamara <caolanm@redhat.com> - 1.1.3-9
|
|
|
222114 |
- Resolves: rhbz#1048875 fix FTBFS
|
|
|
222114 |
|
|
|
222114 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.3-8
|
|
|
222114 |
- Mass rebuild 2013-12-27
|
|
|
222114 |
|
|
|
3fd143 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-7
|
|
|
3fd143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3fd143 |
|
|
|
3fd143 |
* Sat Nov 03 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.3-6
|
|
|
3fd143 |
- repack source to remove bundled multi-license .jars
|
|
|
3fd143 |
|
|
|
3fd143 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-5
|
|
|
3fd143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3fd143 |
|
|
|
3fd143 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
|
|
|
3fd143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3fd143 |
|
|
|
3fd143 |
* Fri Oct 28 2011 Caolán McNamara <caolanm@redhat.com> - 1.1.3-3
|
|
|
3fd143 |
- Related: rhbz#749103 drop gcj aot
|
|
|
3fd143 |
|
|
|
3fd143 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
|
|
|
3fd143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3fd143 |
|
|
|
3fd143 |
* Thu Dec 02 2009 Caolan McNamara <caolanm@redhat.com> 1.1.3-1
|
|
|
3fd143 |
- latest version
|
|
|
3fd143 |
|
|
|
3fd143 |
* Tue Nov 17 2009 Caolan McNamara <caolanm@redhat.com> 1.1.2-1
|
|
|
3fd143 |
- latest version
|
|
|
3fd143 |
|
|
|
3fd143 |
* Fri Jul 24 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-2.OOo31
|
|
|
3fd143 |
- make javadoc no-arch when building as arch-dependant aot
|
|
|
3fd143 |
|
|
|
3fd143 |
* Mon Mar 16 2009 Caolan McNamara <caolanm@redhat.com> 1.0.0-1.OOo31
|
|
|
3fd143 |
- Post-release tuned for OpenOffice.org
|
|
|
3fd143 |
|
|
|
3fd143 |
* Mon Mar 09 2009 Caolan McNamara <caolanm@redhat.com> 0.2.0-1
|
|
|
3fd143 |
- latest version
|
|
|
3fd143 |
|
|
|
3fd143 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
|
|
|
3fd143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3fd143 |
|
|
|
3fd143 |
* Wed May 07 2008 Caolan McNamara <caolanm@redhat.com> 0.1.6-1
|
|
|
3fd143 |
- initial fedora import
|