initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
		
							parent
							
								
									34c541fa74
								
							
						
					
					
						commit
						c9408765f0
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | /stratis-cli-0.0.5.tar.gz | ||||||
							
								
								
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | SHA512 (stratis-cli-0.0.5.tar.gz) = 2fca4752761a4b25fb52e96a0bcc406d2981fdf2c74c36bd7959c6ee4cc7e51bc60007ac04add9948bdef0fa86c0fc3553dbd0a9d6597f32dc55e7adb1333704 | ||||||
							
								
								
									
										48
									
								
								stratis-cli.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								stratis-cli.spec
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,48 @@ | |||||||
|  | Name:           stratis-cli | ||||||
|  | Version:        0.0.5 | ||||||
|  | Release:        1%{?dist} | ||||||
|  | Summary:        Command-line tool for interacting with the Stratis daemon | ||||||
|  | 
 | ||||||
|  | License:        ASL 2.0 | ||||||
|  | URL:            https://github.com/stratis-storage/stratis-cli | ||||||
|  | Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz | ||||||
|  | 
 | ||||||
|  | BuildRequires:  python3-devel | ||||||
|  | BuildRequires:  python3-setuptools | ||||||
|  | Requires:       python3-dbus-client-gen >= 0.2 | ||||||
|  | Requires:       python3-dbus-python-client-gen >= 0.5 | ||||||
|  | Requires:       python3-justbytes = 0.11 | ||||||
|  | # It runs without, but totally useless | ||||||
|  | Requires:       stratisd | ||||||
|  | 
 | ||||||
|  | # stratisd only available on certain arches | ||||||
|  | ExclusiveArch:  %{rust_arches} noarch | ||||||
|  | BuildArch:      noarch | ||||||
|  | 
 | ||||||
|  | %description | ||||||
|  | stratis provides a command-line interface (CLI) for | ||||||
|  | interacting with the Stratis daemon, stratisd. stratis | ||||||
|  | interacts with stratisd via D-Bus. | ||||||
|  | 
 | ||||||
|  | %prep | ||||||
|  | %autosetup | ||||||
|  | 
 | ||||||
|  | %build | ||||||
|  | %py3_build | ||||||
|  | 
 | ||||||
|  | %install | ||||||
|  | %py3_install | ||||||
|  | %{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ | ||||||
|  |   etc/bash_completion.d/stratis | ||||||
|  | 
 | ||||||
|  | %files | ||||||
|  | %license LICENSE | ||||||
|  | %doc README.rst | ||||||
|  | %{_bindir}/stratis | ||||||
|  | %{_datadir}/bash-completion/completions/stratis | ||||||
|  | %{python3_sitelib}/stratis_cli/ | ||||||
|  | %{python3_sitelib}/stratis_cli-*.egg-info/ | ||||||
|  | 
 | ||||||
|  | %changelog | ||||||
|  | * Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-1 | ||||||
|  | - Initial package | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user