Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
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 (Revision 3)
Currently displaying revision
3
,
show latest
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 BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: glibc-devel libgcc gcc gcc-c++ %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 %build %__make %__make clobber %install %{__install} -d -m 755 $RPM_BUILD_ROOT/%{_prefix} %{__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 cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %changelog * Wed Jan 02 2008 Carsten Schoene <cs@linux-administrator.com> - initial build