SampleSpecs/cmakeprogram: различия между версиями
Нет описания правки |
м (+BR: /proc (из ceph 17.2.6-alt3.2)) Метка: отменено |
||
(не показано 8 промежуточных версий 3 участников) | |||
Строка 6: | Строка 6: | ||
License: GPLv2+ | License: GPLv2+ | ||
Group: Development/Other | Group: Development/Other | ||
Url: http://www.altlinux.org/SampleSpecs/cmakeprogram | Url: http://www.altlinux.org/SampleSpecs/cmakeprogram | ||
Source: %name-%version.tar.bz2 | |||
BuildRequires(pre): cmake rpm-macros-cmake | |||
# cmake/ninja need /proc to correctly estimate system | |||
# resources and run several build jobs in parallel | |||
BuildRequires: /proc | |||
%description | %description | ||
This specfile is provided as sample specfile for | This specfile is provided as a sample specfile | ||
for a package built with cmake. | |||
%prep | %prep | ||
Строка 21: | Строка 24: | ||
%build | %build | ||
%cmake_insource | |||
%make_build # VERBOSE=1 | |||
%make_build VERBOSE=1 | |||
%install | %install | ||
%makeinstall_std | %makeinstall_std | ||
%find_lang %name | %find_lang %name | ||
Строка 48: | Строка 37: | ||
%changelog | %changelog | ||
* Sat Jan 33 3001 | * Sat Jan 33 3001 Example Packager <example@altlinux.org> 1.0-alt1 | ||
- initial build</pre> | - initial build</pre> | ||
{{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} | {{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}} |
Версия от 18:42, 18 декабря 2023
Name: sampleprog Version: 1.0 Release: alt1 Summary: Sample program specfile License: GPLv2+ Group: Development/Other Url: http://www.altlinux.org/SampleSpecs/cmakeprogram Source: %name-%version.tar.bz2 BuildRequires(pre): cmake rpm-macros-cmake # cmake/ninja need /proc to correctly estimate system # resources and run several build jobs in parallel BuildRequires: /proc %description This specfile is provided as a sample specfile for a package built with cmake. %prep %setup %build %cmake_insource %make_build # VERBOSE=1 %install %makeinstall_std %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