File rxp.spec of Package rxp

#
# spec file for package rxp (Version 1.4.8)
#
# Copyright (c) 2007 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

Name:           rxp
License:        GPL v2 or later
Group:          Productivity/Publishing/XML
Autoreqprov:    on
Summary:        XML Parser in C
Version:        1.4.8
Release:        1
Source:         ftp://ftp.cogsci.ed.ac.uk/pub/richard/rxp-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL:            http://www.cogsci.ed.ac.uk/~richard/rxp.html

%description
The current version of RXP supports XML 1.1, Namespaces 1.1, xml:id,
and XML Catalogs. To use an XML Catalog, set the environment variable
XML_CATALOG_FILES to a space-separated list of catalog files.

RXP was written by Richard Tobin at the Language Technology Group,
Human Communication Research Centre, University of Edinburgh.

A simple application (called rxp) is provided that parses and writes
XML data, optionally expanding entities, defaulting attributes, and
translating to a different output encoding.

Bug reports should be sent to richard@cogsci.ed.ac.uk.



Authors:
--------
    Richard Tobin <richard@cogsci.ed.ac.uk>

%prep
%setup -q

%build
mv Makefile Makefile.orig
%{__sed} -e 's/^LIBS:/\#LIBS:/'  Makefile.orig > Makefile
%{__make} "DEBUG=%{optflags}" # CHAR_SIZE=8

%install
%{__install} -d -m755 %{buildroot}
%{__install} -d -m755 %{buildroot}/usr/bin
%{__install} -d -m755 %{buildroot}%{_mandir}/man1
%{__install} -m755 rxp %{buildroot}/usr/bin
%{__install} -m644 rxp.1 %{buildroot}%{_mandir}/man1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root)
%doc COPYRIGHT COPYING Manual Threads
%{_bindir}/*
%doc %{_mandir}/man1/*

%changelog
* Tue Aug 07 2007 - crrodriguez@suse.de
- update to version 1.4.8 with some bugfixes
- spec file cleanup
- make autobuild 100%% happy
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 08 2005 - ke@suse.de
- Remove executable bit from manpage.  Reported by Martin Lasarsch
  [#114849].
* Fri Apr 29 2005 - ke@suse.de
- Update to 1.4.4.
* Thu Aug 05 2004 - ke@suse.de
- Update to version 1.4.0:
  - Bug fixes (memory leaks etc.).
  - Fix namespace handling.
  - Speedup.
* Wed Feb 25 2004 - hmacht@suse.de
- building as non-root
* Tue Jul 01 2003 - coolo@suse.de
- don't use $RPM_PACKAGE_NAME
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Fri Sep 29 2000 - ke@suse.de
- Update to version 1.2.
- Use _mandir macro.
* Thu Feb 24 2000 - ke@suse.de
- General spec file cleanup:
- Add group tag.
- Move manpage -> /usr/share.
- Move suse_chekc to the end of %%install.
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jun 10 1999 - ke@suse.de
- initial package: version 1.0.7
openSUSE Build Service is sponsored by