SPECS (DEVEL): mol.spec - fixed doc and mol placement

sparky sparky at pld-linux.org
Mon Nov 6 16:58:03 CET 2006


Author: sparky                       Date: Mon Nov  6 15:58:03 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- fixed doc and mol placement

---- Files affected:
SPECS:
   mol.spec (1.39.2.2 -> 1.39.2.3) 

---- Diffs:

================================================================
Index: SPECS/mol.spec
diff -u SPECS/mol.spec:1.39.2.2 SPECS/mol.spec:1.39.2.3
--- SPECS/mol.spec:1.39.2.2	Mon Nov  6 16:23:53 2006
+++ SPECS/mol.spec	Mon Nov  6 16:57:58 2006
@@ -14,12 +14,14 @@
 %bcond_with	minimal		# no X, no sound
 %bcond_without	debugger	# no debugger
 
+%define	_basever 0.9.71
+%define	_minor .1
 %define _rel	0.1
 Summary:	Runs MacOS natively on Linux/ppc
 Summary(ja):	Mac On Linux - Linux/ppc žĺ¤Î MacOS ĽÍĽ¤ĽĆĽŁĽÖźÂšÔ´Äś­
 Summary(pl):	Natywne uruchamianie MacOS na Linux/ppc
 Name:		mol
-Version:	0.9.71.1
+Version:	%{_basever}%{_minor}
 Release:	%{_rel}
 License:	GPL
 Group:		Applications/Emulators
@@ -43,8 +45,8 @@
 ExclusiveArch:	ppc
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _mol_libdir 		%{_libdir}/mol/%{version}
-%define _mol_datadir 		%{_datadir}/mol/%{version}
+%define _mol_libdir 		%{_libdir}/mol/%{_basever}
+%define _mol_datadir 		%{_datadir}/mol/%{_basever}
 %define _mol_localstatedir	/var/lib/mol
 
 %description
@@ -226,7 +228,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	prefix=%{_prefix}	\
-	docdir=moldoc
+	docdir=/moldoc
 %endif
 
 %if %{with kernel}
@@ -267,6 +269,7 @@
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
+%doc $RPM_BUILD_ROOT/moldoc/*
 %dir %{_sysconfdir}/mol
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mol/[!t]*
 %attr(755,root,root) %{_sysconfdir}/mol/tunconfig
@@ -322,6 +325,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39.2.3  2006/11/06 15:57:58  sparky
+- fixed doc and mol placement
+
 Revision 1.39.2.2  2006/11/06 15:23:53  sparky
 - up to 0.9.71.1, builds
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mol.spec?r1=1.39.2.2&r2=1.39.2.3&f=u



More information about the pld-cvs-commit mailing list