SampleSpecs/cmakeprogram: различия между версиями

Материал из ALT Linux Wiki
м (s/BuildPreReq/BuildRequires(pre)/ по нынешней моде)
Нет описания правки
Строка 9: Строка 9:
Url: http://www.altlinux.org/SampleSpecs/cmakeprogram
Url: http://www.altlinux.org/SampleSpecs/cmakeprogram
Source: %name-%version.tar.bz2
Source: %name-%version.tar.bz2
Packager: Example Packager <example@altlinux.org>


BuildRequires(pre): cmake rpm-macros-cmake
BuildRequires(pre): cmake rpm-macros-cmake

Версия от 13:36, 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

%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