coin/coin.spec

129 lines
4.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: coin
Version: 3.1.3
Release: 1mamba
Summary: An OpenGL-based, 3D graphics library
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: https://bitbucket.org/Coin3D/coin/wiki/Home
Source: https://bitbucket.org/Coin3D/coin/downloads/Coin-%{version}.zip
License: BSD
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 coin' to get the list of build requirements.
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Coin3D is a high-level, retained-mode toolkit for effective 3D graphics development. It is API compatible with Open Inventor 2.1.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n Coin-%{version}
%build
%configure --disable-debug
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/coin-config
%{_mandir}/man1/coin-config.1.gz
%doc AUTHORS COPYING THANKS
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libCoin.so
%{_libdir}/libCoin.so.60
%{_libdir}/libCoin.so.60.1.3
%{_datadir}/Coin/draggerDefaults/*.iv
%{_datadir}/Coin/scxml/navigation/examiner.xml
%{_datadir}/Coin/shaders/lights/*.glsl
%{_datadir}/Coin/shaders/vsm/*.glsl
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/Inventor/C/XML/*.h
%{_includedir}/Inventor/C/base/*.h
%{_includedir}/Inventor/C/*.h
%{_includedir}/Inventor/C/errors/*.h
%{_includedir}/Inventor/C/glue/*.h
%{_includedir}/Inventor/C/threads/*.h
%{_includedir}/Inventor/*.h
%{_includedir}/Inventor/VRMLnodes/*.h
%{_includedir}/Inventor/actions/*.h
%{_includedir}/Inventor/annex/FXViz/elements/*.h
%{_includedir}/Inventor/annex/FXViz/nodes/*.h
%{_includedir}/Inventor/annex/ForeignFiles/*.h
%{_includedir}/Inventor/annex/HardCopy/*.h
%{_includedir}/Inventor/annex/Profiler/*.h
%{_includedir}/Inventor/annex/Profiler/elements/*.h
%{_includedir}/Inventor/annex/Profiler/engines/*.h
%{_includedir}/Inventor/annex/Profiler/nodekits/*.h
%{_includedir}/Inventor/annex/Profiler/nodes/*.h
%{_includedir}/Inventor/annex/Profiler/utils/*.h
%{_includedir}/Inventor/bundles/*.h
%{_includedir}/Inventor/caches/*.h
%{_includedir}/Inventor/collision/*.h
%{_includedir}/Inventor/details/*.h
%{_includedir}/Inventor/draggers/*.h
%{_includedir}/Inventor/elements/*.h
%{_includedir}/Inventor/engines/*.h
%{_includedir}/Inventor/errors/*.h
%{_includedir}/Inventor/events/*.h
%{_includedir}/Inventor/fields/*.h
%{_includedir}/Inventor/lists/*.h
%{_includedir}/Inventor/lock/*.h
%{_includedir}/Inventor/manips/*.h
%{_includedir}/Inventor/misc/*.h
%{_includedir}/Inventor/nodekits/*.h
%{_includedir}/Inventor/nodes/*.h
%{_includedir}/Inventor/projectors/*.h
%{_includedir}/Inventor/scxml/*.h
%{_includedir}/Inventor/sensors/*.h
%{_includedir}/Inventor/system/*.h
%{_includedir}/Inventor/threads/*.h
%{_includedir}/Inventor/tools/*.h
%{_includedir}/Inventor/tools/*.hpp
%{_includedir}/*.h
%{_libdir}/libCoin.la
%{_libdir}/pkgconfig/Coin.pc
%{_datadir}/Coin/conf/coin-default.cfg
%{_datadir}/aclocal/coin.m4
%doc ChangeLog NEWS README README.MACOSX README.UNIX README.WIN32
%changelog
* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.1.3-1mamba
- package created using the webbuild interface