From 3c620e22840c10a8dc870ad95ee8e7275812cf9d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 01 2019 16:17:38 +0000 Subject: import librepository-1.1.3-9.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f5af34d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/librepository-1.1.3-jarsdeleted.zip diff --git a/.librepository.metadata b/.librepository.metadata new file mode 100644 index 0000000..3392d2d --- /dev/null +++ b/.librepository.metadata @@ -0,0 +1 @@ +969cd1ca8b412797d1a496dac3d4c80f48385945 SOURCES/librepository-1.1.3-jarsdeleted.zip diff --git a/SOURCES/librepository-1.1.2.build.patch b/SOURCES/librepository-1.1.2.build.patch new file mode 100644 index 0000000..a102d3c --- /dev/null +++ b/SOURCES/librepository-1.1.2.build.patch @@ -0,0 +1,40 @@ +--- librepository-1.1.3/build.properties 2009-11-17 16:41:36.000000000 +0000 ++++ librepository-1.1.3/build.properties 2009-11-17 16:41:56.000000000 +0000 +@@ -1,7 +1,9 @@ +-project.revision=TRUNK-SNAPSHOT ++project.revision=1.1.3 + ivy.artifact.group=pentaho-library + ivy.artifact.id=librepository + impl.title=LibRepository + impl.productID=librepository + src.dir=${basedir}/source + dependency.libbase.revision=1.1.3 ++antcontrib.available=true ++build.cache.dir=lib +--- librepository-1.1.3/common_build.xml 2009-11-17 20:34:29.000000000 +0000 ++++ librepository-1.1.3/common_build.xml 2009-11-17 20:36:51.000000000 +0000 +@@ -1071,6 +1071,7 @@ + + + ++ + + + +@@ -1356,6 +1357,9 @@ + doctitle="${impl.title} documentation"> + + ++ ++ ++ + + + +@@ -1648,4 +1652,4 @@ + + + +- +\ No hay ningún carácter de nueva línea al final del fichero ++ diff --git a/SPECS/librepository.spec b/SPECS/librepository.spec new file mode 100644 index 0000000..38a7a03 --- /dev/null +++ b/SPECS/librepository.spec @@ -0,0 +1,116 @@ +Name: librepository +Version: 1.1.3 +Release: 9%{?dist} +Summary: Hierarchical repository abstraction layer +License: LGPLv2 +Group: System Environment/Libraries +#Original source: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.zip +#unzip, find . -name "*.jar" -exec rm {} \; +#to simplify the licensing +Source: %{name}-%{version}-jarsdeleted.zip +URL: http://reporting.pentaho.org/ +BuildRequires: ant, ant-contrib, java-devel, jpackage-utils, libbase >= 1.1.3 +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: java, jpackage-utils, libbase >= 1.1.3 +BuildArch: noarch +Patch0: librepository-1.1.2.build.patch + +%description +LibRepository provides a simple abstraction layer to access bulk content that +is organized in a hierarchical layer. + +%package javadoc +Summary: Javadoc for %{name} +Group: Development/Documentation +Requires: %{name} = %{version}-%{release} +Requires: jpackage-utils + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -c +%patch0 -p1 -b .build +find . -name "*.jar" -exec rm -f {} \; +mkdir -p lib +build-jar-repository -s -p lib commons-logging-api libbase +cd lib +ln -s %{_javadir}/ant ant-contrib + +%build +ant jar javadoc +for file in README.txt licence-LGPL.txt ChangeLog.txt; do + tr -d '\r' < $file > $file.new + mv $file.new $file +done + +%install +rm -rf $RPM_BUILD_ROOT + +mkdir -p $RPM_BUILD_ROOT%{_javadir} +cp -p ./dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir} +pushd $RPM_BUILD_ROOT%{_javadir} +ln -s %{name}-%{version}.jar %{name}.jar +popd + +mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(0644,root,root,0755) +%doc licence-LGPL.txt README.txt ChangeLog.txt +%{_javadir}/%{name}-%{version}.jar +%{_javadir}/%{name}.jar + +%files javadoc +%defattr(0644,root,root,0755) +%{_javadocdir}/%{name} + +%changelog +* Wed Jan 08 2014 Caolán McNamara - 1.1.3-9 +- Resolves: rhbz#1048875 fix FTBFS + +* Fri Dec 27 2013 Daniel Mach - 1.1.3-8 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Nov 03 2012 Caolán McNamara - 1.1.3-6 +- repack source to remove bundled multi-license .jars + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 28 2011 Caolán McNamara - 1.1.3-3 +- Related: rhbz#749103 drop gcj aot + +* Tue Feb 08 2011 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 02 2009 Caolan McNamara 1.1.3-1 +- latest version + +* Tue Nov 17 2009 Caolan McNamara 1.1.2-1 +- latest version + +* Fri Jul 24 2009 Caolan McNamara 1.0.0-2.OOo31 +- make javadoc no-arch when building as arch-dependant aot + +* Mon Mar 16 2009 Caolan McNamara 1.0.0-1.OOo31 +- Post-release tuned for OpenOffice.org + +* Mon Mar 09 2009 Caolan McNamara 0.2.0-1 +- latest version + +* Wed Feb 25 2009 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed May 07 2008 Caolan McNamara 0.1.6-1 +- initial fedora import