#103 Add CMake template
Merged a year ago by ngompa. Opened a year ago by justinz.
justinz/rpmdevtools main  into  main

Add CMake template
Justin Zobel • a year ago  
@@ -0,0 +1,38 @@ 

+ Name:           

+ Version:        

+ Release:        1%{?dist}

+ Summary:        

+ 

+ License:        

+ URL:            

+ Source0:        

+ 

+ BuildRequires:  cmake

+ 

+ %description

+ %{summary}.

+ 

+ 

+ %prep

+ %autosetup -q

+ 

+ 

+ %build

+ %cmake

+ %cmake_build

+ 

+ 

+ %install

+ %cmake_install

+ 

+ 

+ %check

+ %ctest

+ 

+ 

+ %files

+ %license add-license-file-here

+ %doc add-docs-here

+ 

+ 

+ %changelog

no initial comment

You should probably add a %check section where it calls %ctest too.

1 new commit added

  • Add %ctest as requested
a year ago

Please squash the commits.

rebased onto 4c2f437

a year ago

Pull-Request has been merged by ngompa

a year ago
Metadata