rpms/tigase-xmltools/F-12 tigase-xmltools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Matej Cepl
mcepl at fedoraproject.org
Thu May 13 16:41:24 UTC 2010
Author: mcepl
Update of /cvs/pkgs/rpms/tigase-xmltools/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17517
Modified Files:
.cvsignore sources
Added Files:
tigase-xmltools.spec
Log Message:
Initial import of the package
--- NEW FILE tigase-xmltools.spec ---
Name: tigase-xmltools
Version: 3.3.4
Release: 3%{?dist}
Summary: Tigase XML Tools
Group: Development/Libraries
License: GPLv3
URL: http://www.tigase.org/
# The source for this package was pulled from upstream's vcs.
# Use the following commands to generate the tarball:
# svn export -r 457 https://svn.tigase.org/reps/tigase-xmltools/trunk/ %{name}-%{version}
# tar -cjvf %{name}-%{version}.tar.bz2 %{name}-%{version}
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: jpackage-utils
BuildRequires: java-devel >= 1.6.0
BuildRequires: ant ant-contrib ant-apache-regexp
Requires: jpackage-utils
Requires: java >= 1.6.0
%description
An XML parser dedicated for XMPP stream handling. It is a lightweight
and high performance parser that does not handle the full XML specification.
The implementation covers only elements used in the XMPP protocol.
%package javadoc
Summary: Javadocs for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: jpackage-utils
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
find -name '*.class' -exec rm -f '{}' \;
find -name '*.jar' -exec rm -f '{}' \;
%build
export LANG=en_US
export CLASSPATH=$(build-classpath ant/ant-contrib)
ant jar docs
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p jars/tigase-xmltools.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
cp -rp docs-tigase-xmltools/api/ \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/*
%doc COPYING
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}
%changelog
* Tue May 11 2010 Matěj Cepl <mcepl at redhat.com> - 3.3.4-3
- Fixing description per reviewer's request
* Sat Apr 19 2010 Matěj Cepl <mcepl at redhat.com> 3.3.4-2
- Tidy up the spec per package review comments
* Sat Apr 17 2010 Matěj Cepl <mcepl at redhat.com> - 3.3.4-1
- Initial packaging effort
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tigase-xmltools/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 11 May 2010 04:52:54 -0000 1.1
+++ .cvsignore 13 May 2010 16:41:24 -0000 1.2
@@ -0,0 +1 @@
+tigase-xmltools-3.3.4.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tigase-xmltools/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 11 May 2010 04:52:55 -0000 1.1
+++ sources 13 May 2010 16:41:24 -0000 1.2
@@ -0,0 +1 @@
+74ab6e2467e0377880beac8ab02591b2 tigase-xmltools-3.3.4.tar.bz2
More information about the scm-commits
mailing list