From 3d1001495f5ad50f91478590688f9dcfd2b235db Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 25 2013 10:15:29 +0000 Subject: import libbase-1.1.3-8.el7.src.rpm --- diff --git a/.libbase.metadata b/.libbase.metadata new file mode 100644 index 0000000..c6976aa --- /dev/null +++ b/.libbase.metadata @@ -0,0 +1 @@ +d0a69dc19f2eb6d10fb8bb660d36f453103ac571 SOURCES/libbase-1.1.3-jarsdeleted.zip diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libbase-1.1.2.build.patch b/SOURCES/libbase-1.1.2.build.patch new file mode 100644 index 0000000..7876b53 --- /dev/null +++ b/SOURCES/libbase-1.1.2.build.patch @@ -0,0 +1,16 @@ +--- libbase-1.1.3/build.properties 2009-11-17 13:12:25.000000000 +0000 ++++ libbase-1.1.3/build.properties 2009-11-17 13:12:37.000000000 +0000 +@@ -1,4 +1,4 @@ +-project.revision=TRUNK-SNAPSHOT ++project.revision=1.1.3 + ivy.artifact.group=pentaho-library + ivy.artifact.id=libbase + impl.title=Libbase +@@ -7,3 +7,7 @@ + testsrc.dir=${basedir}/testcases + + java.awt.headless=true ++ ++antcontrib.available=true ++ ++build.cache.dir=lib diff --git a/SPECS/libbase.spec b/SPECS/libbase.spec new file mode 100644 index 0000000..5cdafda --- /dev/null +++ b/SPECS/libbase.spec @@ -0,0 +1,105 @@ +Name: libbase +Version: 1.1.3 +Release: 8%{?dist} +Summary: JFree Base Services +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, ant-nodeps, java-devel, jpackage-utils, apache-commons-logging +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: java, jpackage-utils, apache-commons-logging +BuildArch: noarch + +Patch0: libbase-1.1.2.build.patch + +%description +LibBase is a library developed to provide base services like logging, +configuration and initialization to other libraries and applications. The +library is the root library for all Pentaho-Reporting projects. + +%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 +mkdir -p lib +find . -name "*.jar" -exec rm -f {} \; +build-jar-repository -s -p lib commons-logging-api +cd lib +ln -s %{_javadir}/ant ant-contrib + +%build +ant jar javadoc + +%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 ChangeLog.txt licence-LGPL.txt README.txt +%{_javadir}/%{name}-%{version}.jar +%{_javadir}/%{name}.jar + +%files javadoc +%defattr(0644,root,root,0755) +%{_javadocdir}/%{name} + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Nov 03 2012 Caolán McNamara - 1.1.3-7 +- repack source to remove bundled multi-license .jars + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu May 03 2012 Caolán McNamara - 1.1.3-5 +- Resolves: rhbz#818487 adapt to jakarta->apache + +* 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 + +* Mon Feb 07 2011 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 03 2009 Caolan McNamara 1.1.3-1 +- latest version + +* Thu Nov 17 2009 Caolan McNamara 1.1.2-1 +- latest version + +* Fri Jul 24 2009 Caolan McNamara 1.0.0-3.OOo31 +- make javadoc no-arch when building as arch-dependant aot + +* Mon Mar 16 2009 Caolan McNamara 1.0.0-2.OOo31 +- Post released tuned for OpenOffice.org reportbuilder + +* Wed Dec 03 2008 Caolan McNamara 1.0.0-1 +- initial fedora import