[Jpackage-commits] dist/docbook-xml/devel .cvsignore, 1.1, 1.2 docbook-xml-4.4.pom, NONE, 1.1 docbook-xml.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 20:04:36 CEST 2008


Update of /home/projects/jpackage/cvs/dist/docbook-xml/devel
In directory ryu.zarb.org:/tmp/cvs-serv20583/devel

Modified Files:
	.cvsignore sources 
Added Files:
	docbook-xml-4.4.pom docbook-xml.spec 
Log Message:
Import from JPP 5.0

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/docbook-xml/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 18:04:20 -0000	1.1
--- .cvsignore	28 May 2008 18:04:33 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ docbook-xml-4.4.tar.gz

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/docbook-xml/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 18:04:20 -0000	1.1
--- sources	28 May 2008 18:04:33 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ 384ff902553baa37c11ba7faa1578b22  docbook-xml-4.4.tar.gz

--- NEW FILE: docbook-xml.spec ---
# Copyright (c) 2000-2008, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

Name:           docbook-xml
Version:        4.4
Release:        1jpp
Epoch:          0
Summary:        DocBook XML DTDs as Jar
License:        Distributable
Url:            http://docbook.sourceforge.net/
Group:          Development/Tools
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Source0:        docbook-xml-4.4.tar.gz
# # steps to reproduce
# svn export http://docbook.svn.sourceforge.net/svnroot/docbook/tags/V44/docbook/xml/ docbook-xml-4.4
# pushd docbook-xml-4.4/ent/
# for e in $(curl -s -l 'http://www.w3.org/2003/entities/2007/' | cut -d\" -f 12 | grep ent$); do curl -s -O http://www.w3.org/2003/entities/2007/$e; done
# popd
# tar cf docbook-xml-4.4.tar docbook-xml-4.4/
# gzip docbook-xml-4.4.tar

Source1:        http://repo1.maven.org/maven2/org/docbook/docbook-xml/4.4/docbook-xml-4.4.pom

BuildRequires:  jpackage-utils >= 0:1.7.4
BuildRequires:  java-devel 
Requires:  java 
Buildarch:     noarch
Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post):    jpackage-utils >= 0:1.7.4
Requires(postun):  jpackage-utils >= 0:1.7.4

%description
XML document type definitions for DocBook.

%prep
%setup -q 

%build
rm README Makefile
jar cf %{name}-%{version}.jar *

%install
rm -rf $RPM_BUILD_ROOT
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms

install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
%add_to_maven_depmap org.docbook %{name} %{version} JPP %{name}

(cd $RPM_BUILD_ROOT%{_javadir}
for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done
)


%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%{_javadir}/*.jar
%{_datadir}/maven2
%{_mavendepmapfragdir}

%changelog
* Mon Feb 25 2008 Ralph Apel <r.apel at r-apel.de> - 0:4.4-1jpp
- 4.4


--- NEW FILE: docbook-xml-4.4.pom ---
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.docbook</groupId>
  <artifactId>docbook-xml</artifactId>
  <version>4.4</version>
  <name>DocBook XML DTD</name>
  <url>http://www.docbook.org/xml/4.4/</url>
</project>



More information about the JPackage-commits mailing list