Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
diffmk
diffmk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File diffmk.spec of Package diffmk
# # spec file for package diffmk (Version 1.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: diffmk Url: http://wwws.sun.com/software/xml/developers/diffmk/ License: BSD 3-Clause Group: Productivity/Publishing/XML Requires: perl = %{perl_version} Requires: perl-Algorithm-Diff perl-XML-DOM perl-XML-Parser BuildRequires: unzip AutoReqProv: on Summary: Compute Differences between XML Documents Version: 1.0 Release: 139 Provides: perl-diffmk Obsoletes: perl-diffmk Source: http://wwws.sun.com/software/xml/developers/diffmk/diffmk-1.0.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Using DiffMk, you can build an automated comparison of two XML documents. The output format for viewing is HTML. Authors: -------- Norman Walsh <ndw@nwalsh.com> %prep %setup -T -D -c unzip -a %{S:0} %define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*}) %build cp diffmk diffmk.tmp sed "s|\(\"/\.diffmk\.xml\",\)|\1 \"%{_datadir}/xml/diffmk/dtd/diffmk.xml\",|" \ diffmk.tmp > diffmk %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_bindir} \ $RPM_BUILD_ROOT%{_datadir}/xml/diffmk/{dtd,xsd,xml} install -m 755 diffmk $RPM_BUILD_ROOT%{_bindir} install -m 755 diffmk.dtd $RPM_BUILD_ROOT%{_datadir}/xml/diffmk/dtd install -m 755 diffmk.xsd $RPM_BUILD_ROOT%{_datadir}/xml/diffmk/xsd install -m 755 diffmk.xml $RPM_BUILD_ROOT%{_datadir}/xml/diffmk/xml pushd $RPM_BUILD_ROOT%{_datadir}/xml/diffmk/dtd \ && ln -sf ../xml/diffmk.xml . \ && popd %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc diff.* diffmk.* README.html diff.txt %doc frames.html out.html out.xml refentry.html refentry.xml test1.html %doc test1.xml test2.html test2.xml %{_bindir}/* %{_datadir}/xml/diffmk %changelog * Thu Mar 29 2007 ke@suse.de - Add BuildRequires: unzip. * Tue Jan 16 2007 ke@suse.de - Remove /usr/share/xml from the files list. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jun 07 2004 ke@suse.de - Rename package to diffmk as reported by Thorsten Kukuk. * Wed Feb 04 2004 ke@suse.de - New package: version 1.0
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