cdbs/cdbs.spec
2024-01-24 09:46:48 +08:00

51 lines
1.2 KiB
RPMSpec

Name: cdbs
Version: 0.4.166
Release: 1
Summary: Common build system for Debian packages
BuildArch: noarch
License: GPL-2.0-or-later
URL: https://salsa.debian.org/build-common-team/cdbs
Source0: http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.tar.xz
BuildRequires: automake autoconf libtool autoconf-archive
BuildRequires: make
BuildRequires: perl-generators
%description
This package contains the Common Debian Build System, an abstract build system
based on Makefile inheritance which is completely extensible and overridable.
In other words, CDBS provides a sane set of default rules upon which packages
can build; any or all rules may be overridden as needed.
%prep
%autosetup -p1 -n %{name}
%build
./autogen.sh
%configure
%make_build
%install
%make_install
#check
# Although the Makefile has a check rule, it requires a functional
# dpkg-checkbuilddeps, which is not the case on Fedora.
%files
%doc TODO
%license COPYING
%{_bindir}/cdbs-edit-patch
%{_libexecdir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/cdbs-edit-patch.1*
%changelog
* Wed Jan 24 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 0.4.166-1
- Initial package