rpms/rman/devel rman.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael A. Peters (mpeters) fedora-extras-commits at redhat.com
Fri Apr 28 18:21:40 UTC 2006


Author: mpeters

Update of /cvs/extras/rpms/rman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11932/devel

Modified Files:
	.cvsignore sources 
Added Files:
	rman.spec 
Log Message:
auto-import rman-3.2-2 on branch devel from rman-3.2-2.src.rpm


--- NEW FILE rman.spec ---
Name:		rman
Version:	3.2 
Release:	2%{?dist}
Summary:	Converts man pages to various other formats

Group:		System Environment/Base
License:	Artistic
URL:		http://sourceforge.net/projects/polyglotman
Source0:	http://easynews.dl.sourceforge.net/sourceforge/polyglotman/rman-3.2.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Parse formatted man pages and man page source from most flavors of UNIX.
Convert to HTML, ASCII, TkMan, DocBook, and other formats.


%prep
%setup -q


%build
cp Makefile Makefile.orig
cat Makefile.orig \
|sed s?"^BINDIR =.*"?"BINDIR = %{_bindir}"? \
|sed s?"^MANDIR =.*"?"MANDIR = %{_mandir}/man1"? \
|sed s?"^CFLAGS =.*"?"CFLAGS = %{optflags} -finline-functions"? \
> Makefile

make %{?_smp_mflags}

pushd contrib
for file in `ls`; do
sed -i 's?^#!/usr/local/bin/perl?#!%{_bindir}/perl?' ${file}
sed -i 's?\r??' ${file}
done
popd


%install
rm -rf %{buildroot}
install -d -m755 %{buildroot}%{_bindir}
install -d -m755 %{buildroot}%{_mandir}/man1
install -m755 rman %{buildroot}%{_bindir}/
install -m644 rman.1 %{buildroot}%{_mandir}/man1/


%clean
rm -rf %buildroot


%files
%defattr(-,root,root,-)
%doc CHANGES README-rman.txt rman.html contrib
%{_bindir}/rman
%{_mandir}/man1/*



%changelog
* Fri Apr 28 2006 Michael A. Peters <mpeters at mac.com> - 3.2-2
- Package the contrib directory with %%doc

* Thu Apr 27 2006 Michael A. Peters <mpeters at mac.com> - 3.2-1
- Initial packaging for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rman/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Apr 2006 18:20:49 -0000	1.1
+++ .cvsignore	28 Apr 2006 18:21:40 -0000	1.2
@@ -0,0 +1 @@
+rman-3.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rman/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Apr 2006 18:20:49 -0000	1.1
+++ sources	28 Apr 2006 18:21:40 -0000	1.2
@@ -0,0 +1 @@
+6d1d67641c6d042595a96a62340d3cc6  rman-3.2.tar.gz




More information about the fedora-extras-commits mailing list