Материал из ALT Linux Wiki
Name: sampleprog
Version: 1.0
Release: alt1

Summary: Sample program specfile
License: GPLv2+
Group: Development/Other

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

This specfile is provided as a sample specfile
for a package built with cmake.


%make_build # VERBOSE=1

%find_lang %name

%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README THANKS TODO contrib/ manual/

* Sat Jan 33 3001 Example Packager <> 1.0-alt1
- initial build