SPECS: oggfwd.spec - proper installation - patch0 needed

shadzik shadzik at pld-linux.org
Sun Mar 4 17:49:41 CET 2007


Author: shadzik                      Date: Sun Mar  4 16:49:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- proper installation
- patch0 needed

---- Files affected:
SPECS:
   oggfwd.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/oggfwd.spec
diff -u SPECS/oggfwd.spec:1.2 SPECS/oggfwd.spec:1.3
--- SPECS/oggfwd.spec:1.2	Sun Mar  4 17:17:23 2007
+++ SPECS/oggfwd.spec	Sun Mar  4 17:49:36 2007
@@ -9,6 +9,7 @@
 Group:		Applications
 Source0:	http://v2v.cc/~j/oggfwd/%{name}-%{version}.tar.gz
 # Source0-md5:	00969e60bec7191e55db1026a698419f
+Patch0:		%{name}-Makefile.patch
 URL:		http://v2v.cc/~j/ffmpeg2theora/oggfwd
 BuildRequires:	libogg-devel
 BuildRequires:	libshout-devel >= 2.1
@@ -24,6 +25,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %{__make} \
@@ -31,9 +33,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,6 +45,7 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/*.gz
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -49,6 +53,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/03/04 16:49:36  shadzik
+- proper installation
+- patch0 needed
+
 Revision 1.2  2007/03/04 16:17:23  shadzik
 - pass CFLAGS
 - rel 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/oggfwd.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list