Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
calabash
calabash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File calabash.spec of Package calabash
# # spec file for package calabash # # Copyright (c) 2010,2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define CALABASH_HOME %{_datadir}/%{name} %define svnversion 685 Name: calabash License: GPL Group: Productivity/Publishing/XML Summary: An Implementation of XProc, an XML Pipeline Language Version: 0.9.39 Release: svn%{svnversion}.0 # http://svn.xmlcalabash.com/calabash/ URL: http://xmlcalabash.com Source0: %{name}-%{version}-%{svnversion}-src.tar.bz2 Source1: %{name}.script Source2: %{name}.xml Source3: http://xmlcalabash.com/extension/steps/library-1.0.xpl # Patch2: %{name}.build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # BuildRequires: jpackage-utils ant ant-trax BuildRequires: jakarta-commons-httpclient3 BuildRequires: jakarta-commons-codec BuildRequires: unzip dos2unix BuildRequires: java-devel >= 1.5 BuildRequires: xml-commons-apis BuildRequires: jaxp_parser_impl BuildRequires: xerces-j2 BuildRequires: jing trang BuildRequires: isorelax msv BuildRequires: izpack BuildRequires: metadata-extractor tagsoup xmlunit >= 1.3 BuildRequires: saxon9 saxon9-xpath saxon9-dom BuildRequires: saxon9-sql saxon9-jdom saxon9-xom BuildRequires: saxon9-xqj saxon9-s9api BuildRequires: docbook-xsl-stylesheets libxslt # Requires: jre1.5.x Requires: xml-commons-apis Requires: jaxp_parser_impl Requires: xml-commons-resolver Requires: jakarta-commons-httpclient3 Requires: jakarta-commons-codec Requires: jing msv metadata-extractor tagsoup xmlunit >= 1.3 Requires: saxon9 saxon9-xpath saxon9-dom Requires: saxon9-sql saxon9-jdom saxon9-xom Requires: saxon9-xqj saxon9-s9api Recommends: xproc-schema BuildArch: noarch %description Calabash is an implementation of XProc: An XML Pipeline Language [http://www.w3.org/TR/xproc/]. %prep %setup -q -n %{name}-%{version}-%{svnversion} %patch2 # Replace placeholder strings: %{__cp} %{S:1} %{name} %{__cp} %{S:2} %{S:3} . # We don't want the default libraries from Calabash. We rely # on the libraries given in the buildrequires section: %{__rm} -rf lib/{common,saxon,tagsoup}*.jar # Remove extensions which can not be used: %{__rm} -rf src/com/xmlcalabash/extensions/DeltaXML.java \ src/com/xmlcalabash/library/XSLFormatter.java \ src/com/xmlcalabash/extensions/NVDL.java \ src/com/xmlcalabash/extensions/marklogic/ # src/com/xmlcalabash/library/ValidateJing.java \ # %build ant compile distrib DB=/usr/share/xml/docbook/stylesheet/nwalsh/current/ xsltproc $DB/manpages/docbook.xsl %{name}.xml xsltproc --output %{name}.html $DB/html/docbook.xsl %{name}.xml %install [ -e %buildroot ] || %{__mkdir} %buildroot # Create directories: %{__install} -m 755 -d $RPM_BUILD_ROOT%{_prefix}/bin/ %{__install} -m 755 -d $RPM_BUILD_ROOT%{CALABASH_HOME} %{__install} -m 755 -d $RPM_BUILD_ROOT%{_javadir} %{__install} -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man1 # %%{__install} -m 755 -d $RPM_BUILD_ROOT%%{_javadocdir}/%%{name}-%%{version} # Install Javadoc #%%{__cp} -a javadoc/* $RPM_BUILD_ROOT%%{_javadocdir}/%%{name}-%%{version} # Install script and manpage: %{__install} -m 755 %{name} $RPM_BUILD_ROOT%{_prefix}/bin/%{name} %{__install} -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/ pushd $RPM_BUILD_ROOT%{_mandir}/man1/ %{__gzip} * popd %{__cp} -a xpl schemas $RPM_BUILD_ROOT%{CALABASH_HOME} cp %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc docs %{name}.html library-1.0.xpl %{_bindir}/%{name} %{_datadir}/%{name} %{_javadir}/*.jar %{_mandir}/man1/* %changelog # EOF
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor