## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: ptex Version: 2.4.3 Release: %autorelease Summary: Per-Face Texture Mapping for Production Rendering # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD Url: https://github.com/wdas/%{name} Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz-devel BuildRequires: pkgconfig(zlib) %description Ptex is a texture mapping system developed by Walt Disney Animation Studios for production-quality rendering. %package devel Summary: Development files for the Ptex library Requires: %{name} = %{version} %description devel Development files for Walt Disney Animation Studios Ptex library. %package doc Summary: Documentation files for the Ptex library BuildArch: noarch %description doc Documentation files for Walt Disney Animation Studios Ptex library. %package libs Summary: Libraries for Ptex %description libs This package contains the library needed to run programs dynamically linked with Ptex. %prep %autosetup -n %{name}-%{version} %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects # Detect package version echo %{version} > version %cmake \ -DPTEX_BUILD_STATIC_LIBS=OFF %cmake_build %install %cmake_install # Relocate .pc file mv %{buildroot}%{_datadir}/pkgconfig %{buildroot}%{_libdir} %files %doc src/doc/README %license LICENSE %{_bindir}/ptxinfo %files libs %{_libdir}/libPtex.so.2.4 %files doc %doc %{_datadir}/doc/Ptex %files devel %{_includedir}/Ptex*.h %{_libdir}/cmake/Ptex %{_libdir}/libPtex.so %{_libdir}/pkgconfig/ptex.pc %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 2.4.3-3 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 2.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 14 2024 Luya Tshimbalanga - 2.4.3-1 - Update to 2.4.3 (rhbz#2292028) * Fri Jan 26 2024 Fedora Release Engineering - 2.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Aug 07 2022 Luya Tshimbalanga - 2.4.2-1 - Update to 2.4.2 (#2116015) * Fri Jul 22 2022 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat May 28 2022 Luya Tshimbalanga - 2.4.1-1 - Update to 2.4.1 (#1989906) * Fri Jan 21 2022 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 19 2021 Luya Tshimbalanga - 2.4.0-2 - Update to 2.4.0 (#1961968) Drop so versioning downstream patch * Wed May 19 2021 Fedora Release Monitoring - 2.4.0-1 - Update to 2.4.0 (#1961968) * Wed Jan 27 2021 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 10 2020 Luya Tshimbalanga - 2.3.2-1 - Patch for .so versioning Clean cmake option ## END: Generated by rpmautospec