packages: OpenCASCADE/OpenCASCADE.spec - CASROOT failover verified, src dir...
gotar
gotar at pld-linux.org
Sat Jun 5 23:29:33 CEST 2010
Author: gotar Date: Sat Jun 5 21:29:32 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- CASROOT failover verified, src directory doesn't contain examples but data
- cleanup non-FHS garbages
---- Files affected:
packages/OpenCASCADE:
OpenCASCADE.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/OpenCASCADE/OpenCASCADE.spec
diff -u packages/OpenCASCADE/OpenCASCADE.spec:1.9 packages/OpenCASCADE/OpenCASCADE.spec:1.10
--- packages/OpenCASCADE/OpenCASCADE.spec:1.9 Sat Jun 5 23:16:53 2010
+++ packages/OpenCASCADE/OpenCASCADE.spec Sat Jun 5 23:29:27 2010
@@ -21,7 +21,7 @@
Patch0: %{name}6.3.0-obs-check.patch
Patch1: %{name}6.3.0-strcmp.patch
Patch2: OpenCASCADE6.3.0-occ6.3.0.patch
-Patch3: OpenCASCADE6.3.0-casroot.patch
+Patch3: %{name}6.3.0-casroot.patch
Patch5: OpenCASCADE6.3.0-tkernel-ld.patch
Patch6: OpenCASCADE6.3.0-mft-disable-mmap.patch
Patch7: OpenCASCADE6.3.0-no-bitmaps-icon.patch
@@ -75,13 +75,6 @@
%description doc
OpenCASCADE help and html documentation.
-%package examples
-Summary: OpenCASCADE examples
-Group: Documentation
-
-%description examples
-OpenCASCADE examples.
-
%prep
%setup -q -n %{name}%{version}
%patch0 -p1
@@ -132,7 +125,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}
+install -d $RPM_BUILD_ROOT{%{_datadir},%{_includedir}}
cd ros
%{__make} install \
@@ -143,6 +136,7 @@
cp -a doc %{buildroot}%{_prefix}/
cp -a samples %{buildroot}%{_prefix}/
+mv $RPM_BUILD_ROOT{%{_prefix}/src,%{_datadir}/%{name}}
mv $RPM_BUILD_ROOT{%{_prefix}/inc,%{_includedir}/%{name}}
rm -r $RPM_BUILD_ROOT%{_prefix}/{Linux,lin}
@@ -156,6 +150,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/DRAWEXE
%attr(755,root,root) %{_bindir}/wok*
+%{_datadir}/%{name}
%files libs
%defattr(644,root,root,755)
@@ -167,19 +162,13 @@
%dir %{_prefix}/wok/site/
%dir %{_prefix}/data
%dir %{_prefix}/doc
-%dir %{_libdir}/
-%dir %{_libdir}/opencas/
-%dir /usr/share/opencascade/
%{_prefix}/data/*
%{_prefix}/doc/*
%{_prefix}/wok/lib/*
%{_prefix}/wok/site/*
%{_prefix}/config.h
%{_prefix}/env_DRAW.sh
-%{_libdir}/opencas/*.so
-/usr/share/opencascade/%{version}
/usr/share/doc/packages/opencascade
-%config /etc/ld.so.conf.d/%name.conf
%dir %{_prefix}/src/UnitsAPI
%dir %{_prefix}/src
%{_prefix}/src/UnitsAPI/*.dat
@@ -190,11 +179,8 @@
%{_libdir}/*.la
%attr(755,root,root) %{_libdir}/*.so
-%{_libdir}/opencas/*.la
%dir %{_prefix}/src/
%{_prefix}/src/*
-%dir %{_prefix}/inc/
-%{_prefix}/inc/*
%dir %{_prefix}/samples
%{_prefix}/samples/*
%exclude %{_prefix}/src/UnitsAPI/*.dat
@@ -205,6 +191,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/06/05 21:29:27 gotar
+- CASROOT failover verified, src directory doesn't contain examples but data
+- cleanup non-FHS garbages
+
Revision 1.9 2010/06/05 21:16:53 gotar
- avoid versioning and weird dirs, just KISS
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/OpenCASCADE/OpenCASCADE.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list