## START: Set by rpmautospec ## (rpmautospec version 0.6.1) ## 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 %global _unpackaged_files_terminate_build 0 Name: dbus-test-runner Version: 19.04.0 Release: %autorelease Summary: Utility to run executables under a new DBus session for testing License: GPL-3.0-only URL: https://launchpad.net/%{name} Source0: https://launchpad.net/%{name}/19.04/19.04.0/+download/%{name}-19.04.0.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: help2man BuildRequires: intltool BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) Requires: dbus-daemon %description dbus-test-runner is a simple little executable for running a couple of programs under a new DBus session. Use this DBus tool for unit testing of code that accesses DBus at runtime. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup %build %configure --enable-static=no %make_build %install %make_install # Create man page mkdir -p %{buildroot}%{_mandir}/man1/ LD_LIBRARY_PATH=%{buildroot}%{_libdir} help2man --no-info \ --version-string='%{version}' --help-option='--help-all' \ -o %{buildroot}%{_mandir}/man1/%{name}-%{version}.1 \ %{buildroot}%{_bindir}/%{name} %files %license COPYING %{_bindir}/%{name} %{_datadir}/%{name}/ %{_libdir}/libdbustest.so.1 %{_libdir}/libdbustest.so.1.0.0 %{_libexecdir}/%{name}/ %{_mandir}/man1/%{name}-%{version}.1* %files devel %dir %{_includedir}/libdbustest-1/ %{_includedir}/libdbustest-1/libdbustest/ %{_libdir}/libdbustest.so %{_libdir}/pkgconfig/dbustest-1.pc %changelog ## START: Generated by rpmautospec * Sun Feb 25 2024 Arthur Bols - 19.04.0-1 - Initial import (fedora#2265817) ## END: Generated by rpmautospec