-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbitsgo.spec.in
38 lines (30 loc) · 954 Bytes
/
cloudbitsgo.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: cloudbitsgo
Version: @RPM_VERSION@
Release: @RPM_RELEASE@
Summary: Migrate files and create symbolic links from src to dest
Group: Applications/Tools
License: GPL3+
Source0: http://github.com/eduardocerqueira/cloudbitsgo/%{name}-%{version}.tar.gz
BuildRequires: python-setuptools
Requires: python
%global debug_package %{nil}
%description
cloudbitsgo is a Linux tool to migrate files and create symbolic links from src to dest
%prep
%setup -q -n %{name}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
mkdir -p %{buildroot}/%{_mandir}/man1
cp cloudbitsgo.1 %{buildroot}/%{_mandir}/man1/cloudbitsgo.1
%files
%defattr(755,root,root,755)
%{python_sitelib}/cloudbitsgo*
%attr (755,root,root)/usr/bin/cloudbitsgo
%doc README.md
%doc AUTHORS
%{_mandir}/man1/cloudbitsgo.1.gz
%changelog
* Sun Oct 30 2016 Eduardo Cerqueira <eduardomcerqueira@gmail.com> - 0.0.1
- initial build