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 2)
Currently displaying revision
2
,
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 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 %build %__make %__make clobber %install %{__install} -d -m 755 $RPM_BUILD_ROOT/%{_prefix} %{__make} ROOT=$RPM_BUILD_ROOT/%{_prefix} install 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