rpms/libformula/devel import.log, NONE, 1.1 libformula.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:30:12 UTC 2008


Author: caolanm

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

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



--- NEW FILE import.log ---
libformula-0_1_18-1_fc9:HEAD:libformula-0.1.18-1.fc9.src.rpm:1214846996


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

Name: libformula
Version: 0.1.18
Release: 1%{?dist}
Summary: Formula Parser
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
LibFormula provides Excel-Style-Expressions. The implementation provided
here is very generic and can be used in any application that needs to
compute formulas.

%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

%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.1.18-1
- initial fedora import


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libformula/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Jun 2008 16:03:18 -0000	1.1
+++ .cvsignore	30 Jun 2008 17:29:33 -0000	1.2
@@ -0,0 +1 @@
+libformula-0.1.18.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libformula/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Jun 2008 16:03:18 -0000	1.1
+++ sources	30 Jun 2008 17:29:33 -0000	1.2
@@ -0,0 +1 @@
+213ffd2a685932ab238e5ee225a1ad49  libformula-0.1.18.tar.gz




More information about the fedora-extras-commits mailing list