rpms/automaton/devel automaton.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jerry James (jjames)
fedora-extras-commits at redhat.com
Mon Jul 7 15:46:42 UTC 2008
Author: jjames
Update of /cvs/pkgs/rpms/automaton/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18745/devel
Modified Files:
.cvsignore sources
Added Files:
automaton.spec import.log
Log Message:
Initial package import.
--- NEW FILE automaton.spec ---
# Upstream uses version-release. Control the madness here.
%define upver 1.10
%define uprel 4
%define filever %{upver}-%{uprel}
%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
Name: automaton
Version: %{upver}r%{uprel}
Release: 2%{?dist}
Summary: A Java finite state automata/regular expression library
Group: Development/Libraries/Java
License: BSD
URL: http://www.brics.dk/automaton/
Source: http://www.brics.dk/~amoeller/%{name}/%{name}-%{filever}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ant, java-devel, jpackage-utils
Requires: java, jpackage-utils
%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
This Java package contains a DFA/NFA (finite-state automata) implementation
with Unicode alphabet (UTF-16) and support for the standard regular expression
operations (concatenation, union, Kleene star) and a number of non-standard
ones (intersection, complement, etc.).
In contrast to many other automaton/regexp packages, this package is fast,
compact, and implements real, unrestricted regular operations. It uses a
symbolic representation based on intervals of Unicode characters.
%package javadoc
Summary: A Java finite state automata/regular expression library
Group: Development/Documentation
Requires: %{name} = %{version}-%{release}, jpackage-utils
%description javadoc
Javadoc documentation for automaton.
%prep
%setup -q -n %{name}-%{upver}
rm -f dist/automaton.jar
%build
ant all
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p dist/automaton.jar $RPM_BUILD_ROOT%{_javadir}/automaton-%{version}.jar
ln -s automaton-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/automaton.jar
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}
mv doc $RPM_BUILD_ROOT%{_javadocdir}/automaton-%{version}
ln -s automaton-%{version} $RPM_BUILD_ROOT%{_javadocdir}/automaton
%if %{with_gcj}
%{_bindir}/aot-compile-rpm
%endif
%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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_javadir}/automaton*.jar
%if %{with_gcj}
%{_libdir}/gcj/%{name}
%endif
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/automaton*
%changelog
* Mon Jun 30 2008 Jerry James <loganjerry at gmail.com> - 1.10r4-2
- Conditionalize gcj invocations
- Remove the prebuilt jar before building
* Fri Jun 6 2008 Jerry James <loganjerry at gmail.com> - 1.10r4-1
- Upgrade to 1.10-4
* Fri Apr 18 2008 Jerry James <loganjerry at gmail.com> - 1.10r3-2
- Conform to the new Java packaging guidelines
* Mon Jan 7 2008 Jerry James <loganjerry at gmail.com> - 1.10r3-1
- Fix the version number as suggested by Jason L. Tibbitts III
* Tue Nov 20 2007 Jerry James <loganjerry at gmail.com> - 1.10.3-1
- Initial RPM
--- NEW FILE import.log ---
automaton-1_10r4-2_fc9:HEAD:automaton-1.10r4-2.src.rpm:1215445634
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/automaton/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Jul 2008 19:38:28 -0000 1.1
+++ .cvsignore 7 Jul 2008 15:45:49 -0000 1.2
@@ -0,0 +1 @@
+automaton-1.10-4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/automaton/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Jul 2008 19:38:28 -0000 1.1
+++ sources 7 Jul 2008 15:45:49 -0000 1.2
@@ -0,0 +1 @@
+2caabfdb853dcf79396a6d03d4d835cd automaton-1.10-4.tar.gz
More information about the fedora-extras-commits
mailing list