github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/ci/installers/rpm/cf-cli.spec.template (about) 1 Summary: Cloud Foundry CLI 2 Name: cf-cli 3 Release: 1 4 Group: Development/Tools 5 License: ASL 2.0 6 URL: https://github.com/cloudfoundry/cli 7 BugUrl: https://github.com/cloudfoundry/cli/issues 8 Source: %{expand:%%(pwd)} 9 10 %description 11 Cloud Foundry CLI is the official command line client for Cloud Foundry. 12 13 %prep 14 rm -rf $RPM_BUILD_ROOT 15 mkdir -p $RPM_BUILD_ROOT/usr/bin 16 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/cf-cli 17 cd $RPM_BUILD_ROOT 18 cp %{SOURCEURL0}/cf ./usr/bin/cf 19 cp %{SOURCEURL0}/LICENSE ./usr/share/doc/cf-cli/LICENSE 20 cp %{SOURCEURL0}/NOTICE ./usr/share/doc/cf-cli/NOTICE 21 22 %clean 23 rm -rf "$RPM_BUILD_ROOT" 24 25 %files 26 %defattr(644,root,root) 27 %license /usr/share/doc/cf-cli/LICENSE 28 /usr/share/doc/cf-cli/NOTICE 29 %defattr(755,root,root) 30 /usr/bin/cf