90 lines
2.5 KiB
RPMSpec
90 lines
2.5 KiB
RPMSpec
Name: soqt
|
|
Version: 1.5.0
|
|
Release: 1mamba
|
|
Summary: A glue between Coin 3D and QT
|
|
Group: Graphical Desktop/Libraries/QT
|
|
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/SoQt-%{version}.zip
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## note: run 'autospec -u -a6 soqt' to get the list of build requirements.
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: coin
|
|
BuildRequires: libcoin-devel
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
SoQt provides the glue between Systems in Motion's Coin high-level 3D visualization library and Qt 2D user interface library.
|
|
|
|
%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 SoQt-%{version}
|
|
|
|
%build
|
|
%configure --with-coin --disable-html-help --enable-debug=no
|
|
%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}/soqt-config
|
|
%{_mandir}/man1/soqt-config.1.gz
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libSoQt.so
|
|
%{_libdir}/libSoQt.so.20
|
|
%{_libdir}/libSoQt.so.20.5.0
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/Inventor/Qt/*.h
|
|
%{_includedir}/Inventor/Qt/devices/*.h
|
|
%{_includedir}/Inventor/Qt/editors/*.h
|
|
%{_includedir}/Inventor/Qt/nodes/*.h
|
|
%{_includedir}/Inventor/Qt/viewers/*.h
|
|
%{_includedir}/Inventor/Qt/widgets/*.h
|
|
%{_libdir}/*.la
|
|
%{_libdir}/pkgconfig/SoQt.pc
|
|
%{_datadir}/Coin/conf/soqt-default.cfg
|
|
%{_datadir}/aclocal/soqt.m4
|
|
%doc ChangeLog NEWS README README.IRIX README.MACOSX README.WIN32
|
|
|
|
|
|
%changelog
|
|
* Sat Jun 11 2016 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.5.0-1mamba
|
|
- package created using the webbuild interface
|