-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmsrx.spec
42 lines (32 loc) · 938 Bytes
/
msrx.spec
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
39
40
41
42
%define name msrx
%define version 0.1
%define release 1
Name: %{name}
Version: %{version}
Release: %{release}
Summary: MSR605 library and command line tools
Group: Development/Libraries
License: BSD
Source0: %{name}-%{version}.tar.gz
Vendor: Mansour Behabadi <[email protected]>
URL: https://github.com/oxplot/msrx
BuildArch: noarch
BuildRequires: python >= 2.7
Requires: python >= 2.7
%description
Library and command line tools for talking with MSR605 magnetic card
reader/writer.
%prep
%setup -n %{name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.md LICENSE.txt
%changelog
* Fri Aug 3 2014 Mansour Behabadi <[email protected]> - 0.1-1
- Initial release