diff --git a/cdbs.spec b/cdbs.spec new file mode 100644 index 0000000..67dcf19 --- /dev/null +++ b/cdbs.spec @@ -0,0 +1,50 @@ +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 - 0.4.166-1 +- Initial package diff --git a/cdbs_0.4.166.tar.xz b/cdbs_0.4.166.tar.xz new file mode 100644 index 0000000..5cdb4fb Binary files /dev/null and b/cdbs_0.4.166.tar.xz differ