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

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Fri Jul 4 23:06:19 UTC 2008


Author: caolanm

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

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



--- NEW FILE import.log ---
libfonts-0_3_4-1_fc9:HEAD:libfonts-0.3.4-1.fc9.src.rpm:1215212744


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

Name: libfonts
Version: 0.3.4
Release: 1%{?dist}
Summary: TrueType Font Layouting
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, libloader
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: java, jpackage-utils, jcommon, libloader >= 0.3.7-1
%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
LibFonts is a library developed to support advanced layouting in JFreeReport.
This library allows to read TrueType-Font files to extract layouting specific
informations.

%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 libloader-0.3.7

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


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libfonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jul 2008 20:34:30 -0000	1.1
+++ .cvsignore	4 Jul 2008 23:05:34 -0000	1.2
@@ -0,0 +1 @@
+libfonts-0.3.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libfonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jul 2008 20:34:30 -0000	1.1
+++ sources	4 Jul 2008 23:05:34 -0000	1.2
@@ -0,0 +1 @@
+8369400998f44a37812c419797666691  libfonts-0.3.4.tar.gz




More information about the fedora-extras-commits mailing list