From 7daef0575f60bd77eaad26ebcf5fd38635fe0c2d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 7 Jan 2025 18:19:51 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.8.8-1mamba;Fri Jan 03 2025] --- README.md | 2 ++ alembic.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 alembic.spec diff --git a/README.md b/README.md index dc63c14..dc522da 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # alembic +Alembic is an open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications. + diff --git a/alembic.spec b/alembic.spec new file mode 100644 index 0000000..5585ab9 --- /dev/null +++ b/alembic.spec @@ -0,0 +1,83 @@ +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 +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 1.8.8-1mamba +- package created using the webbuild interface