## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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: libpdt Version: 3.25.2 Release: %{autorelease} Summary: Framework for source code analysis License: BSD-3-Clause AND GPL-2.0-only URL: https://www.cs.uoregon.edu/research/pdt/home.php #Source0: https://www.cs.uoregon.edu/research/tau/pdt_releases/pdt-%{version}.tar.gz Source0: pdt-%{version}-clean.tar.gz Source1: get-and-clean-source.sh #Patch: shared-library.patch BuildRequires: gcc-c++ BuildRequires: gcc-gfortran BuildRequires: make %description A framework for analyzing source code written in several programming languages and for making rich program knowledge accessible to developers of static and dynamic analysis tools. PDT implements a standard program representation, the program database (PDB), that can be accessed in a uniform way through a class library supporting common PDB operations. Software tools can use this library to accomplish tasks such as - documentation of program components - creation of graphic program browsers that show class hierarchies, function call graphs, and template instantiations - insertion of instrumentation for performance profiling and tracing; and generation of interface details for calling library routines or building interlanguage bindings. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n pdtoolkit-%{version} -p1 %build %configure -GNU -useropt="${CXXFLAGS} -D_XOPEN_SOURCE -fPIC" %make_build %install %make_install %files %license LICENSE %license gfortran-license.txt %doc README %doc CREDITS #{_libdir}/*.so.* %files devel #{_includedir}/* #{_libdir}/*.so %changelog ## START: Generated by rpmautospec * Thu Apr 30 2026 John Doe - 3.25.2-1 - Uncommitted changes ## END: Generated by rpmautospec