rpms/libloader/devel import.log, NONE, 1.1 libloader.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Mon Jun 30 17:24:30 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/libloader/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26616/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log libloader.spec 
Log Message:



--- NEW FILE import.log ---
libloader-0_3_7-1_fc9:HEAD:libloader-0.3.7-1.fc9.src.rpm:1214846666


--- NEW FILE libloader.spec ---
# Use rpmbuild --without gcj to disable native bits
%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}

Name: libloader
Version: 0.3.7
Release: 1%{?dist}
Summary: Resource Loading Framework
License: LGPLv2+
Group: System Environment/Libraries
Source: http://downloads.sourceforge.net/jfreereport/%{name}-%{version}.tar.gz
URL: http://reporting.pentaho.org/
BuildRequires: ant, java-devel, jpackage-utils, jcommon
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: java, jpackage-utils, jcommon
%if %{with_gcj}
BuildRequires: java-gcj-compat-devel >= 1.0.31
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%else
BuildArch: noarch
%endif

%description
LibLoader is a general purpose resource loading framework. It has been
designed to allow to load resources from any physical location and to
allow the processing of that content data in a generic way, totally
transparent to the user of that library.

%package javadoc
Summary: Javadoc for %{name}
Group: Development/Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils

%description javadoc
Javadoc for %{name}.

%prep
%setup -q
find . -name "*.jar" -exec rm -f {} \;
build-jar-repository -s -p lib jcommon-1.0.12

%build
ant compile 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 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar

mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%postun
%if %{with_gcj}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%files
%defattr(0644,root,root,0755)
%doc licence-LGPL.txt README.txt ChangeLog.txt
%{_javadir}/*.jar
%if %{with_gcj}
%attr(-,root,root) %{_libdir}/gcj/%{name}
%endif

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}

%changelog
* Wed May 07 2008 Caolan McNamara <caolanm at redhat.com> 0.3.7-1
- initial fedora import


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libloader/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Jun 2008 16:01:24 -0000	1.1
+++ .cvsignore	30 Jun 2008 17:23:49 -0000	1.2
@@ -0,0 +1 @@
+libloader-0.3.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libloader/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Jun 2008 16:01:24 -0000	1.1
+++ sources	30 Jun 2008 17:23:49 -0000	1.2
@@ -0,0 +1 @@
+bc4b9732e3c898a2f1102062fd614f2b  libloader-0.3.7.tar.gz




More information about the fedora-extras-commits mailing list