Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 5b7a1e1f550eaf675b160c88c6f0bedc > files > 2

rxp-1.4.0-1mdk.src.rpm

%define name	rxp
%define version	1.4.0
%define release	1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	XML parser
Group:		Development/Other
License:	GPL
URL:		http://www.cogsci.ed.ac.uk/~richard/rxp.html
Source:		ftp://ftp.cogsci.ed.ac.uk/pub/richard/%{name}.tar.bz2
Patch:		%{name}.makefile.patch.bz2
BuildRoot:      %{_tmppath}/%{name}-buildroot

%description
RXP is a validating XML parser written in C. It is used by the LT XML toolkit,
and the Festival speech synthesis system.

%prep
%setup
%patch

%build
export CFLAGS=$RPM_OPT_FLAGS
%make

%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Wed Aug 04 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-1mdk 
- 1.4.0 final
- rpmbuildupdate aware

* Sat Feb 28 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-0.pre10.1mdk
- new version

* Sat Jan 25 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2.8-1mdk
- first mdk release with a spec stolen from Luc Ducazu <luc@biolinux.org>