Changes of Revision 3
[-] | Changed | docbook-to-man.spec |
x 1
2 URL: http://sourceforge.net/projects/docbook-to-man/ 3 Source0: %{name}_%{version}.orig.tar.gz 4 Patch0: %{name}_%{version}-26.diff.gz 5 +Patch1: %{name}_Transpec_Makefile.diff 6 BuildRoot: %{_tmppath}/%{name}-%{version}-build 7 Packager: Carsten Schoene <cs@linux-administrator.com> 8 Vendor: linux-administrator.com 9
10 for A in `ls -1A debian/patches/*.dpatch` ; do 11 patch -p1 < ${A} 12 done 13 +%patch1 -p1 14 15 %build 16 %__make 17
18 %install 19 %{__install} -d -m 755 $RPM_BUILD_ROOT/%{_prefix} 20 %{__make} ROOT=$RPM_BUILD_ROOT/%{_prefix} install 21 +%{__install} -D -m 0644 Doc/docbook-to-man.1 $RPM_BUILD_ROOT/%{_mandir}/man1/docbook-to-man.1 22 +%{__install} -D -m 0644 Doc/instant.1 $RPM_BUILD_ROOT/%{_mandir}/man1/instant.1 23 +%{__install} -D -m 0644 Doc/transpec.1 $RPM_BUILD_ROOT/%{_mandir}/man5/transpec.5 24 +%{__install} -D -m 0644 Instant/tptregexp/regexp.3 $RPM_BUILD_ROOT/%{_mandir}/man3/regexp.3 25 26 cd $RPM_BUILD_ROOT 27 find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} 28 |
||
[+] | Added | docbook-to-man_Transpec_Makefile.diff ^ |
@@ -0,0 +1,11 @@ +--- docbook-to-man-2.0.0/Transpec/Makefile.orig 2008-01-02 17:50:05.000000000 +0100 ++++ docbook-to-man-2.0.0/Transpec/Makefile 2008-01-02 17:50:13.000000000 +0100 +@@ -47,7 +47,7 @@ + all: + + install: all +- if [ ! -d $(TPTLIB) ]; then mkdir $(TPTLIB); fi ++ if [ ! -d $(TPTLIB) ]; then mkdir -p $(TPTLIB); fi + cd $(TPTLIB); rm -f $(FILES) + cp $(FILES) $(TPTLIB) + |