84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
|
Name: alembic
|
||
|
Version: 1.8.8
|
||
|
Release: 1mamba
|
||
|
Summary: An open framework for storing and sharing scene data
|
||
|
Group: Applications/Databases
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.alembic.io/
|
||
|
Source: https://github.com/alembic/alembic.git/%{version}/alembic-%{version}.tar.bz2
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libimath-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
Alembic is an open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications.
|
||
|
|
||
|
%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}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake \
|
||
|
-DConfigPackageLocation=%{_libdir}/cmake/Alembic
|
||
|
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/abcdiff
|
||
|
%{_bindir}/abcecho
|
||
|
%{_bindir}/abcechobounds
|
||
|
%{_bindir}/abcls
|
||
|
%{_bindir}/abcstitcher
|
||
|
%{_bindir}/abctree
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libAlembic.so.*
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/Alembic
|
||
|
%dir %{_includedir}/Alembic/Abc*
|
||
|
%{_includedir}/Alembic/Abc*/*
|
||
|
%dir %{_includedir}/Alembic/Util
|
||
|
%{_includedir}/Alembic/Util/*
|
||
|
%{_libdir}/libAlembic.so
|
||
|
%dir %{_libdir}/cmake/Alembic
|
||
|
%{_libdir}/cmake/Alembic/Alembic*.cmake
|
||
|
%doc README.txt
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jan 03 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.8-1mamba
|
||
|
- package created using the webbuild interface
|