SampleSpecs/cmakeprogram: различия между версиями
(Отмена правки 77050, сделанной MichaelShigorin (обсуждение)) Метка: отмена |
Нет описания правки |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 4: | Строка 4: | ||
Summary: Sample program specfile | Summary: Sample program specfile | ||
License: | License: GPL-2.0-or-later | ||
Group: Development/Other | Group: Development/Other | ||
Url: | Url: https://www.altlinux.org/SampleSpecs/cmakeprogram | ||
Source: %name-%version.tar | Source: %name-%version.tar | ||
BuildRequires(pre): | BuildRequires(pre): rpm-macros-cmake | ||
BuildRequires: cmake | |||
%description | %description | ||
Строка 20: | Строка 21: | ||
%build | %build | ||
% | %cmake | ||
% | %cmake_build | ||
%install | %install | ||
% | %cmake_install | ||
%find_lang %name | %find_lang %name | ||
Текущая версия от 18:59, 6 июля 2025
Name: sampleprog Version: 1.0 Release: alt1 Summary: Sample program specfile License: GPL-2.0-or-later Group: Development/Other Url: https://www.altlinux.org/SampleSpecs/cmakeprogram Source: %name-%version.tar BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake %description This specfile is provided as a sample specfile for a package built with cmake. %prep %setup %build %cmake %cmake_build %install %cmake_install %find_lang %name %files -f %name.lang %doc AUTHORS ChangeLog NEWS README THANKS TODO contrib/ manual/ %_bindir/* %_man1dir/* %changelog * Sat Jan 33 3001 Example Packager <example@altlinux.org> 1.0-alt1 - initial build