File yodl.spec of Package yodl
#
# spec file for package yodl (Version 1.31.18)
#
# 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: yodl
BuildRequires: bison flex python texlive-latex
License: GNU General Public License (GPL)
Group: Development/Tools/Doc Generators
Autoreqprov: on
Version: 1.31.18
Release: 1186
Summary: Yet One-other Document Language
URL: http://yodl.sourceforge.net/
Source: ftp://ftp.lilypond.org/pub/yodl/development/%{name}-%{version}.tar.gz
Patch: %{name}-%{version}-include-fix.diff
Patch1: %{name}-%{version}-strip.diff
Patch2: %{name}-python25.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
YODL is a package that consists of programs, some shell scripts, and
auxiliary "lib" files for which hold macro files. The whole purpose of
the package is to provide a simple-to-use and extensible document
language that can be used to convert documents in the YODL format to a
variety of other formats. In this purpose, YODL somewhat resembles
generic markup languages.
Authors:
--------
Frank Brokken <frank@icce.rug.nl>
%prep
%setup -q
%patch
%patch1
%patch2
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir}
export PATH=$PATH:`pwd`/scripts/out
make
cd Documentation
make info
%install
export PATH=$PATH:`pwd`/scripts/out
make prefix=$RPM_BUILD_ROOT/usr mandir=$RPM_BUILD_ROOT/%{_mandir} infodir=$RPM_BUILD_ROOT/%{_infodir} install
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz --entry="* yodl: (yodl). Provide a simple-to-use and extensible document language that can be used to convert documents in the YODL format to a variety of other formats." --section="Miscellaneous"
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%defattr(-,root,root)
%doc ANNOUNCE.txt AUTHORS.txt README.txt CHANGES
%doc %{_infodir}/*
/usr/share/yodl/
/usr/bin/*
%doc %{_mandir}/man1/*
%doc %{_mandir}/man7/*
%changelog
* Sat Apr 21 2007 - aj@suse.de
- Use texlive.
* Thu Mar 29 2007 - meissner@suse.de
- added bison,flex
* Tue Nov 07 2006 - meissner@suse.de
- use RPM_OPT_FLAGS
* Tue Sep 26 2006 - cthiel@suse.de
- fix build with python 2.5
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 - schwab@suse.de
- Don't strip binaries.
* Tue Feb 17 2004 - postadal@suse.cz
- added includes to avoid warnings in code
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Wed Feb 26 2003 - postadal@suse.cz
- used install-info macros (with section and dir entry)
* Wed Nov 15 2000 - vinil@suse.cz
- regrouped
- CHANGES added
- buildroot used better
* Thu Apr 20 2000 - vinil@suse.cz
- buildroot added
* Fri Jan 21 2000 - ro@suse.de
- update to 1.31.18, move info,man to usr/share
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Oct 28 1998 - ro@suse.de
- switch used default groff-macro from gs to s
* Thu Sep 24 1998 - ro@suse.de
- initial package v 1.31.5