-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-epicsQt.spec
68 lines (55 loc) · 1.69 KB
/
python-epicsQt.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%define name python-epicsQt
%define version 1.0.0
%define release 1
Summary: Qt widgets with epics
Name: %{name}
Version: %{version}
Release: %{release}
Source0: epicsQt-%{version}.tar.gz
License: BSD
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Xiaoqiang Wang <[email protected]>
Requires: PyQt4 python-CaChannel
Url: http://github.com/CaChanel/epicsQt/
%description
epicsQt
=======
`epicsQt` is a QObject representing an EPICS PV connection.
Based on it there is a set of PyQt widgets which has epics awareness.
They are here to integrate epics into existing PyQt applications.
+--------------+----------------+
| Widget type | Description |
+==============+================+
| eButton | Push button |
+--------------+----------------+
| eButtonGroup | Choice button |
+--------------+----------------+
| eCheckbox | Boolean button |
+--------------+----------------+
| eCombo | Choice menu |
+--------------+----------------+
| eDoubleSpin | Numeric input |
+--------------+----------------+
| eIntSpin | Integer input |
+--------------+----------------+
| eLCD | Integer dislay |
+--------------+----------------+
| eLabel | Text display |
+--------------+----------------+
| eTextEdit | Text input |
+--------------+----------------+
Their designer plugins can be used, if PyQt installed,
$ export PYQTDESIGNERPATH=<epicsQt>/plugin/
%prep
%setup -n epicsQt-%{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)