Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
xmlstarlet
xmlstarlet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmlstarlet.spec of Package xmlstarlet
# # spec file for package xmlstarlet (Version 1.0.1) # # 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: xmlstarlet BuildRequires: libxslt-devel pkgconfig sgml-skel Summary: Command Line Tool to Process XML Documents Version: 1.0.1 Release: 153 License: MIT License (or similar) Group: Productivity/Publishing/XML Source0: http://ftp1.sourceforge.net/xmlstar/xmlstarlet-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Patch0: %{name}-1.0.0-no_static_linking.diff Patch1: %{name}-0.9.5-configure_fix.diff Patch2: %{name}-xml_depyx.c.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://sourceforge.net/projects/xmlstar/ DocDir: %{_docdir} %description XMLStarlet (xml) is a command line XML toolkit which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using 'grep', 'sed', 'awk', 'tr', 'diff', or 'patch'. Authors: -------- Mikhail Grushinskiy <mgrouch@users.sourceforge.net> %prep %setup -q %patch0 -p 1 %patch1 %patch2 %build autoreconf --force --install export CFLAGS="$RPM_OPT_FLAGS -W -Wall" ./configure --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir} \ --libdir=%{_libdir} make %{__mkdir_p} html %{__cp} -a doc/callouts html %{__cp} doc/*{css,html} html %check make tests %install #[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] \ # && %{__rm} -rf $RPM_BUILD_ROOT [ -e "%buildroot" -a -d "%buildroot" ] || %{__mkdir} %buildroot %makeinstall %clean %{__rm} -fr %{buildroot} %files %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README Copyright TODO %doc doc/xmlstarlet.txt doc/xmlstarlet.pdf %doc html %{_prefix}/bin/xml %{_mandir}/*/* %changelog
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