Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.2.4
:
extensions
>
docbook-to-man
> docbook-to-man.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File docbook-to-man.spec of Package docbook-to-man
Name: docbook-to-man Version: 2.0.0 Release: 1 License: GPL Group: Dokumentation Summary: Converter from DocBook SGML into roff man macros URL: http://sourceforge.net/projects/docbook-to-man/ Source0: %{name}_%{version}.orig.tar.gz Patch0: %{name}_%{version}-26.diff.gz Patch1: %{name}_Transpec_Makefile.diff Patch2: %{name}_Instant_Makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glibc-devel libgcc gcc gcc-c++ docbook-utils opensp Requires: docbook-utils opensp %description Converter from DocBook SGML into roff man macros. %prep %setup -n %{name}-%{version}.orig zcat %{P:0} | patch -p1 for A in `ls -1A debian/patches/*.dpatch` ; do patch -p1 < ${A} done %patch1 -p1 %patch2 -p1 %build %__make %__make clobber %install %{__install} -D -d -m 755 $RPM_BUILD_ROOT/%{_prefix}/bin %{__make} ROOT=$RPM_BUILD_ROOT/%{_prefix} install %{__install} -D -m 0644 Doc/docbook-to-man.1 $RPM_BUILD_ROOT/%{_mandir}/man1/docbook-to-man.1 %{__install} -D -m 0644 Doc/instant.1 $RPM_BUILD_ROOT/%{_mandir}/man1/instant.1 %{__install} -D -m 0644 Doc/transpec.1 $RPM_BUILD_ROOT/%{_mandir}/man5/transpec.5 %{__install} -D -m 0644 Instant/tptregexp/regexp.3 $RPM_BUILD_ROOT/%{_mandir}/man3/regexp.3 sed -i s@%{buildroot}@@g %{buildroot}%{_bindir}/instant %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man*/* %dir %{_datadir}/sgml/transpec %{_datadir}/sgml/transpec/* %changelog * Wed Jan 02 2008 Carsten Schoene <cs@linux-administrator.com> - initial build