Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > b411e26b203cd42d076ab4c7f1566d31 > files > 3

wml-2.0.8-1mdk.src.rpm

%define version 2.0.8
%define release 1mdk
%define name wml

Summary:   Website META Language
Name:      %{name}
Version:   %{version}
Release:   %{release}
License: GPL
Buildroot: %{_tmppath}/%{name}-buildroot
Group:     Publishing
Source:    %{name}-%{version}.tar.bz2
Patch:	   wml-2.0.8-perlversion.patch.bz2
Url:       http://www.engelschall.com/sw/wml
BuildRequires: perl
BuildRequires: db2-devel

%description
WML is a free and extensible Webdesigner's off-line HTML generation
toolkit for Unix, distributed under the GNU General Public License
(GPL v2). It is written in ANSI C and Perl 5, build via a GNU Autoconf
based source tree and runs out-of-the-box on all major Unix derivates.
It can be used free of charge both in educational and commercial
environments.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q
%patch

%build
( cd wml_backend/p3_eperl; autoconf )
%configure

%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall libdir=$RPM_BUILD_ROOT%{_libdir}/wml

#clean perl files (stolen from spec-helper)
d=$RPM_BUILD_ROOT%{_libdir}/wml
find $d -name ".packlist" | xargs rm -f
for i in $(find $d -name "*.bs"); do
    if [ -s $i ]; then
      echo "non empty *.bs file, please mail pixel@mandrakesoft.com about this!"
    else
      rm -f $i
    fi
done


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc ANNOUNCE BUGREPORT ChangeLog COPYING COPYRIGHT COPYRIGHT.OTHER CREDITS 
%doc NEWS PORTING README SUPPORT VERSION VERSION.HISTORY
%{_bindir}/*
%{_libdir}/*
%{_mandir}/*/*

%changelog
* Fri Jul 12 2002 Götz Waschk <waschk@linux-mandrake.com> 2.0.8-1mdk
- buildrequires db2-devel
- patch eperl to build with perl 5.8.0
- 2.0.8

* Fri Oct 12 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.0.7-1mdk
- 2.0.7

* Fri Aug 31 2001 Etienne Faure <etienne@mandrakesoft.com> 2.0.6-3mdk
- rebuild

* Wed Feb 14 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.0.6-2mdk
- rebuild

* Wed Nov 08 2000 Lenny Cartier <lenny@mandrakesoft.com> 2.0.6-1mdk
- updated by Götz Waschk <waschk@linux-mandrake.com> :
	- 2.0.6

* Wed Sep  6 2000 Götz Waschk <waschk@linux-mandrake.com> 2.0.3-1mdk
- updated to 2.0.3
- make rpmlint happy

* Sun Jul 30 2000 Götz Waschk <waschk@linux-mandrake.com> 2.0.2-1mdk
- initial Mandrake package