Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
9496f287c8 dist-git conversion 2010-07-29 15:56:14 +00:00
Bill Nottingham
f74a2ac49b Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:34:15 +00:00
Fabian Deutsch
1f12ebf8be Included xmelnc in F-10 branch. 2009-02-01 18:27:20 +00:00
b50741dc97 Initialize branch F-10 for xmlenc 2009-01-30 06:41:19 +00:00
4 changed files with 90 additions and 21 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xmlenc
# $Id$
NAME := xmlenc
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
32f631dca735574c9ad8164ee05dc05f xmlenc-0.52.tgz

89
xmlenc.spec Normal file
View file

@ -0,0 +1,89 @@
Name: xmlenc
Version: 0.52
Release: 5%{?dist}
Summary: Light-weight XML output library for Java
Group: Development/Libraries
License: BSD
URL: http://xmlenc.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: junit
Requires: java >= 1:1.6.0
Requires: jpackage-utils
BuildArch: noarch
%description
This library is a fast stream-based XML output library for Java.
Main design goals are performance, simplicitity and pureness.
%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 '*.jar' -o -name '*.class' -exec rm -f '{}' \;
rm -Rf build/*
%build
ant \
-Djavac.targetvm=1.5 \
all
%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}%{_javadir}/
cp -pR build/%{name}.jar %{buildroot}%{_javadir}/
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pR build/javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_javadir}/*
%doc CHANGES COPYRIGHT README THANKS
%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}-%{version}
%changelog
* Tue Jan 29 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 0.52-5
- URL now follows standards
* Wed Jan 28 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 0.52-4
- Group name fix
- Spec-file cleanup
* Mon Jan 26 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 0.52-3
- Small javac.targetvm build fix
* Mon Jan 26 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 0.52-2
- Added dependencies
- Small fixes
* Wed Jan 21 2009 Fabian Deutsch <fabian.deutsch at gmx.de> 0.52-1
- Initial package.