##// END OF EJS Templates
Ready for packaging
jeandet -
r67:262a79eb1d04 socexplorer-plugins-0.6-3 default
parent child
Show More
@@ -1,99 +1,103
1 %global upstream_name socexplorer-plugins-0.6-2
1 %global upstream_name socexplorer-plugins-0.6-3
2
2
3 Name: socexplorer-plugins
3 Name: socexplorer-plugins
4 Version: 0.6
4 Version: 0.6
5 Release: 2%{?dist}
5 Release: 3%{?dist}
6 Summary: Base plugins for SocExplorer.
6 Summary: Base plugins for SocExplorer.
7 Group: Development/Tools
7 Group: Development/Tools
8 License: GPLv2
8 License: GPLv2
9 URL: https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer
9 URL: https://hephaistos.lpp.polytechnique.fr/redmine/projects/socexplorer
10 Source0: https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/381/%{upstream_name}.zip
10 Source0: https://hephaistos.lpp.polytechnique.fr/redmine/attachments/download/381/%{upstream_name}.zip
11
11
12 BuildRequires: python2-devel
12 BuildRequires: python2-devel
13 BuildRequires: qt5-qtbase-devel
13 BuildRequires: qt5-qtbase-devel
14 BuildRequires: qt5-qtwebkit-devel
14 BuildRequires: qt5-qtwebkit-devel
15 BuildRequires: qt5-qttools-static
15 BuildRequires: qt5-qttools-static
16 BuildRequires: qt5-qttools-devel
16 BuildRequires: qt5-qttools-devel
17 BuildRequires: qt5-qtsvg-devel
17 BuildRequires: qt5-qtsvg-devel
18 BuildRequires: qt5-qtxmlpatterns-devel
18 BuildRequires: qt5-qtxmlpatterns-devel
19 BuildRequires: elfutils-libelf-devel
19 BuildRequires: elfutils-libelf-devel
20 BuildRequires: qt5-pythonqt-devel
20 BuildRequires: qt5-pythonqt-devel
21 BuildRequires: socexplorer-devel = 0.6
21 BuildRequires: socexplorer-devel = 0.6
22
22
23 Requires: socexplorer = 0.6
23 Requires: socexplorer = 0.6
24 Requires: qt5-pythonqt
24 Requires: qt5-pythonqt
25 Requires: python2
25 Requires: python2
26 Requires: qt5-qtwebkit
26 Requires: qt5-qtwebkit
27 Requires: qt5-qttools
27 Requires: qt5-qttools
28 Requires: qt5-qtsvg
28 Requires: qt5-qtsvg
29 Requires: qt5-qtxmlpatterns
29 Requires: qt5-qtxmlpatterns
30 Requires: elfutils-libelf
30 Requires: elfutils-libelf
31
31
32 %description
32 %description
33 SocExplorer is an open source generic System On Chip testing software/framework. This package contains the base plugins for SocExplorer such as AHBUARTplugin for connecting to any grlib based design with an AHBUART.
33 SocExplorer is an open source generic System On Chip testing software/framework. This package contains the base plugins for SocExplorer such as AHBUARTplugin for connecting to any grlib based design with an AHBUART.
34 You will get:
34 You will get:
35 - AHB UART plugin
35 - AHB UART plugin
36 - APB UART plugin
36 - APB UART plugin
37 - AMBA plugin
37 - AMBA plugin
38 - DSU3 plugin
38 - DSU3 plugin
39 - Generic rw plugin
39 - Generic rw plugin
40 - Memcheck & Memectr plugins
40 - Memcheck & Memectr plugins
41
41
42 %prep
42 %prep
43 %setup -q -n %{upstream_name}
43 %setup -q -n %{upstream_name}
44
44
45 %build
45 %build
46 %{_qt5_qmake}
46 %{_qt5_qmake}
47
47
48 make %{?_smp_mflags}
48 make %{?_smp_mflags}
49
49
50 %install
50 %install
51 make install INSTALL_ROOT=%{buildroot}
51 make install INSTALL_ROOT=%{buildroot}
52
52
53 %post -p /sbin/ldconfig
53 %post -p /sbin/ldconfig
54
54
55 %postun -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
56
56
57 %files
57 %files
58 %{_qt5_libdir}/SocExplorer/plugins/libApbUartPlugin.so*
58 %{_qt5_libdir}/SocExplorer/plugins/libApbUartPlugin.so*
59 %{_qt5_libdir}/SocExplorer/plugins/libahbuartplugin.so*
59 %{_qt5_libdir}/SocExplorer/plugins/libahbuartplugin.so*
60 %{_qt5_libdir}/SocExplorer/plugins/libambaplugin.so*
60 %{_qt5_libdir}/SocExplorer/plugins/libambaplugin.so*
61 %{_qt5_libdir}/SocExplorer/plugins/libdsu3plugin.so*
61 %{_qt5_libdir}/SocExplorer/plugins/libdsu3plugin.so*
62 %{_qt5_libdir}/SocExplorer/plugins/libgenericrwplugin.so*
62 %{_qt5_libdir}/SocExplorer/plugins/libgenericrwplugin.so*
63 %{_qt5_libdir}/SocExplorer/plugins/libmemcheckplugin.so*
63 %{_qt5_libdir}/SocExplorer/plugins/libmemcheckplugin.so*
64 %{_qt5_libdir}/SocExplorer/plugins/libmemctrlrplugin.so*
64 %{_qt5_libdir}/SocExplorer/plugins/libmemctrlrplugin.so*
65 %{_qt5_libdir}/SocExplorer/plugins/libspwplugin.so*
65
66
66 %changelog
67 %changelog
68 * Tue Sep 8 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
69 - Added spwplugin, improved AHB plugn'play decoding, fixed GUI bug on spwplugin.
70
67 * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
71 * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
68 - Improved ds3plugin.
72 - Improved ds3plugin.
69
73
70 * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
74 * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
71 - Fix some remaining mistakes.
75 - Fix some remaining mistakes.
72
76
73 * Thu Apr 2 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
77 * Thu Apr 2 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6
74 -Uses r53 as source.
78 -Uses r53 as source.
75 -Removed GenericPySysdriver interface, now socexplorer plugins can be subclassed in python.
79 -Removed GenericPySysdriver interface, now socexplorer plugins can be subclassed in python.
76
80
77 * Thu Mar 26 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.5
81 * Thu Mar 26 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.5
78 -Uses r51 as source.
82 -Uses r51 as source.
79
83
80 * Wed Mar 25 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
84 * Wed Mar 25 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
81 -Uses r50 as source.
85 -Uses r50 as source.
82
86
83 * Fri Mar 20 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
87 * Fri Mar 20 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
84 -Uses r49 as source.
88 -Uses r49 as source.
85
89
86 * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
90 * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
87 -Uses r48 as source.
91 -Uses r48 as source.
88
92
89 * Wed Feb 18 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
93 * Wed Feb 18 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
90 -Uses r45 as source.
94 -Uses r45 as source.
91
95
92 * Tue Feb 10 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
96 * Tue Feb 10 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
93 -Uses r44 as source.
97 -Uses r44 as source.
94
98
95 * Tue Dec 30 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
99 * Tue Dec 30 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
96 - Uses r42 as source.
100 - Uses r42 as source.
97
101
98 * Sat Jun 28 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
102 * Sat Jun 28 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4
99 - Initial Fedora packaging
103 - Initial Fedora packaging
@@ -1,96 +1,96
1 #
1 #
2 # Project created by QtCreator 2011-09-20T08:15:30
2 # Project created by QtCreator 2011-09-20T08:15:30
3 #
3 #
4 #-------------------------------------------------
4 #-------------------------------------------------
5
5
6 CONFIG += socexplorerplugin
6 CONFIG += socexplorerplugin
7 QT += network webkit
7 QT += network webkit
8 greaterThan(QT_MAJOR_VERSION, 4): QT += webkitwidgets
8 greaterThan(QT_MAJOR_VERSION, 4): QT += webkitwidgets
9
9
10 QMAKE_CXXFLAGS += -std=c++11
10 QMAKE_CXXFLAGS += -std=c++11
11 QMAKE_CFLAGS += -std=c++11
11 QMAKE_CFLAGS += -std=c++11
12
12
13 win32:CONFIG += dll
13 win32:CONFIG += dll
14 win32:CONFIG -= static
14 win32:CONFIG -= static
15 VERSION=0.6.1
15 VERSION=0.6.1
16 TARGET = spwplugin
16 TARGET = spwplugin
17 DEFINES += PLUGIN=spwplugin
17 DEFINES += PLUGIN=spwplugin
18 DEFINES += PLUGINHEADER="\"\\\"spwplugin.h"\\\"\"
18 DEFINES += PLUGINHEADER="\"\\\"spwplugin.h"\\\"\"
19 DEFINES += driver_Name="\"\\\"SpwPlugin"\\\"\"
19 DEFINES += driver_Name="\"\\\"SpwPlugin"\\\"\"
20 DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@member.fsf.org; Paul Leroy paul.leroy@lpp.polytechnique.fr"\\\"\"
20 DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@member.fsf.org; Paul Leroy paul.leroy@lpp.polytechnique.fr"\\\"\"
21 DEFINES += driver_Description="\"\\\"This plugin allows you to use spacewire's RMAP protocol with Stardundee USB brick v1"\\\"\"
21 DEFINES += driver_Description="\"\\\"This plugin allows you to use spacewire's RMAP protocol with Stardundee USB brick v1"\\\"\"
22 DEFINES += driver_can_be_root=1
22 DEFINES += driver_can_be_root=1
23 DEFINES += driver_can_be_child=0
23 DEFINES += driver_can_be_child=0
24 DEFINES += driver_VID=0
24 DEFINES += driver_VID=0
25 DEFINES += driver_PID=0
25 DEFINES += driver_PID=0
26
26
27 STARTDUNDEEPATH=/home/spacewire/usb/spw_usb_driver_v2.68/
27 #STARTDUNDEEPATH=/home/spacewire/usb/spw_usb_driver_v2.68/
28
28
29 LIBS += $$STARTDUNDEEPATH/lib/x86_64/libSpaceWireUSBAPI.so \
29 #LIBS += $$STARTDUNDEEPATH/lib/x86_64/libSpaceWireUSBAPI.so \
30 $$STARTDUNDEEPATH/lib/x86_64/libConfigLibraryUSB.so
30 # $$STARTDUNDEEPATH/lib/x86_64/libConfigLibraryUSB.so
31
31
32 INCLUDEPATH += \
32 INCLUDEPATH += \
33 $${PWD} \
33 $${PWD} \
34 $$STARTDUNDEEPATH/inc \
34 $$STARTDUNDEEPATH/inc \
35 StarDundee \
35 StarDundee \
36 SpwTcpPacketServer \
36 SpwTcpPacketServer \
37 GR-ESB
37 GR-ESB
38
38
39 HEADERS += \
39 HEADERS += \
40 spwplugin.h \
40 spwplugin.h \
41 StarDundee/stardundeespw_usb.h \
41 StarDundee/stardundeespw_usb.h \
42 abstractspwbridge.h \
42 abstractspwbridge.h \
43 spw.h \
43 spw.h \
44 StarDundee/stardundeegui.h \
44 StarDundee/stardundeegui.h \
45 SpwTcpPacketServer/spwtcppacketserver.h \
45 SpwTcpPacketServer/spwtcppacketserver.h \
46 GR-ESB/gr_esb_bridge.h \
46 GR-ESB/gr_esb_bridge.h \
47 GR-ESB/gr_esb_ui.h \
47 GR-ESB/gr_esb_ui.h \
48 SpwTcpPacketServer/incomingpacketparser.h \
48 SpwTcpPacketServer/incomingpacketparser.h \
49 StarDundee/fakestardundeespwusb_lib.h \
49 StarDundee/fakestardundeespwusb_lib.h \
50 StarDundee/fakestardundeespwusbgui.h
50 StarDundee/fakestardundeespwusbgui.h
51
51
52
52
53 SOURCES += \
53 SOURCES += \
54 spwplugin.cpp \
54 spwplugin.cpp \
55 StarDundee/stardundeespw_usb.cpp \
55 StarDundee/stardundeespw_usb.cpp \
56 abstractspwbridge.cpp \
56 abstractspwbridge.cpp \
57 StarDundee/stardundeegui.cpp \
57 StarDundee/stardundeegui.cpp \
58 SpwTcpPacketServer/spwtcppacketserver.cpp \
58 SpwTcpPacketServer/spwtcppacketserver.cpp \
59 GR-ESB/gr_esb_bridge.cpp \
59 GR-ESB/gr_esb_bridge.cpp \
60 GR-ESB/gr_esb_ui.cpp \
60 GR-ESB/gr_esb_ui.cpp \
61 SpwTcpPacketServer/incomingpacketparser.cpp \
61 SpwTcpPacketServer/incomingpacketparser.cpp \
62 StarDundee/fakestardundeespwusb_lib.cpp \
62 StarDundee/fakestardundeespwusb_lib.cpp \
63 StarDundee/fakestardundeespwusbgui.cpp
63 StarDundee/fakestardundeespwusbgui.cpp
64
64
65 FORMS += \
65 FORMS += \
66 StarDundee/stardundeeGUI.ui \
66 StarDundee/stardundeeGUI.ui \
67 SpwTcpPacketServer/spwtcppacketserver.ui \
67 SpwTcpPacketServer/spwtcppacketserver.ui \
68 GR-ESB/gr_esb_ui.ui \
68 GR-ESB/gr_esb_ui.ui \
69 StarDundee/fakestardundeespwusbgui.ui
69 StarDundee/fakestardundeespwusbgui.ui
70
70
71 RESOURCES += \
71 RESOURCES += \
72 spwRessources.qrc
72 spwRessources.qrc
73
73
74
74
75
75
76
76
77
77
78
78
79
79
80
80
81
81
82
82
83
83
84
84
85
85
86
86
87
87
88
88
89
89
90
90
91
91
92
92
93
93
94
94
95
95
96
96
General Comments 0
You need to be logged in to leave comments. Login now