@@ -1,96 +1,99 | |||||
1 |
%global upstream_name socexplorer-plugins-0.6- |
|
1 | %global upstream_name socexplorer-plugins-0.6-2 | |
2 |
|
2 | |||
3 | Name: socexplorer-plugins |
|
3 | Name: socexplorer-plugins | |
4 | Version: 0.6 |
|
4 | Version: 0.6 | |
5 |
Release: |
|
5 | Release: 2%{?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 |
|
65 | |||
66 | %changelog |
|
66 | %changelog | |
67 | * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6 |
|
67 | * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6 | |
|
68 | - Improved ds3plugin. | |||
|
69 | ||||
|
70 | * Fri Apr 3 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6 | |||
68 | - Fix some remaining mistakes. |
|
71 | - Fix some remaining mistakes. | |
69 |
|
72 | |||
70 | * Thu Apr 2 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6 |
|
73 | * Thu Apr 2 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.6 | |
71 | -Uses r53 as source. |
|
74 | -Uses r53 as source. | |
72 | -Removed GenericPySysdriver interface, now socexplorer plugins can be subclassed in python. |
|
75 | -Removed GenericPySysdriver interface, now socexplorer plugins can be subclassed in python. | |
73 |
|
76 | |||
74 | * Thu Mar 26 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.5 |
|
77 | * Thu Mar 26 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.5 | |
75 | -Uses r51 as source. |
|
78 | -Uses r51 as source. | |
76 |
|
79 | |||
77 | * Wed Mar 25 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
80 | * Wed Mar 25 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
78 | -Uses r50 as source. |
|
81 | -Uses r50 as source. | |
79 |
|
82 | |||
80 | * Fri Mar 20 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
83 | * Fri Mar 20 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
81 | -Uses r49 as source. |
|
84 | -Uses r49 as source. | |
82 |
|
85 | |||
83 | * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
86 | * Mon Mar 9 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
84 | -Uses r48 as source. |
|
87 | -Uses r48 as source. | |
85 |
|
88 | |||
86 | * Wed Feb 18 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
89 | * Wed Feb 18 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
87 | -Uses r45 as source. |
|
90 | -Uses r45 as source. | |
88 |
|
91 | |||
89 | * Tue Feb 10 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
92 | * Tue Feb 10 2015 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
90 | -Uses r44 as source. |
|
93 | -Uses r44 as source. | |
91 |
|
94 | |||
92 | * Tue Dec 30 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
95 | * Tue Dec 30 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
93 | - Uses r42 as source. |
|
96 | - Uses r42 as source. | |
94 |
|
97 | |||
95 | * Sat Jun 28 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 |
|
98 | * Sat Jun 28 2014 Alexis Jeandet <alexis.jeandet@member.fsf.org> - 0.4 | |
96 | - Initial Fedora packaging |
|
99 | - Initial Fedora packaging |
@@ -1,66 +1,66 | |||||
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 |
|
7 | |||
8 | TEMPLATE = lib |
|
8 | TEMPLATE = lib | |
9 |
|
9 | |||
10 | QMAKE_LFLAGS_RELEASE += --enable-auto-import -mstackrealign |
|
10 | QMAKE_LFLAGS_RELEASE += --enable-auto-import -mstackrealign | |
11 | QMAKE_LFLAGS_DEBUG += --enable-auto-import -mstackrealign |
|
11 | QMAKE_LFLAGS_DEBUG += --enable-auto-import -mstackrealign | |
12 |
|
12 | |||
13 |
VERSION=0. |
|
13 | VERSION=0.4.0 | |
14 | TARGET = dsu3plugin #$${DEBUG_EXT} |
|
14 | TARGET = dsu3plugin #$${DEBUG_EXT} | |
15 |
|
15 | |||
16 | DEFINES += PLUGIN=dsu3plugin |
|
16 | DEFINES += PLUGIN=dsu3plugin | |
17 | DEFINES += PLUGINHEADER="\"\\\"dsu3plugin.h"\\\"\" |
|
17 | DEFINES += PLUGINHEADER="\"\\\"dsu3plugin.h"\\\"\" | |
18 | DEFINES += driver_Name="\"\\\"dsu3plugin"\\\"\" |
|
18 | DEFINES += driver_Name="\"\\\"dsu3plugin"\\\"\" | |
19 | DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@lpp.polytechnique.fr"\\\"\" |
|
19 | DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@lpp.polytechnique.fr"\\\"\" | |
20 | DEFINES += driver_Description="\"\\\"DSU driver, works with GAISLER's DSU3 unit."\\\"\" |
|
20 | DEFINES += driver_Description="\"\\\"DSU driver, works with GAISLER's DSU3 unit."\\\"\" | |
21 | DEFINES += driver_can_be_root=0 |
|
21 | DEFINES += driver_can_be_root=0 | |
22 | DEFINES += driver_can_be_child=1 |
|
22 | DEFINES += driver_can_be_child=1 | |
23 | DEFINES += driver_VID=0x00 |
|
23 | DEFINES += driver_VID=0x00 | |
24 | DEFINES += driver_PID=0x00 |
|
24 | DEFINES += driver_PID=0x00 | |
25 |
|
25 | |||
26 |
|
26 | |||
27 | INCLUDEPATH += \ |
|
27 | INCLUDEPATH += \ | |
28 | $${PWD} |
|
28 | $${PWD} | |
29 |
|
29 | |||
30 |
|
30 | |||
31 |
|
31 | |||
32 | HEADERS += \ |
|
32 | HEADERS += \ | |
33 | dsu3plugin.h \ |
|
33 | dsu3plugin.h \ | |
34 | dsu3pluginui.h |
|
34 | dsu3pluginui.h | |
35 |
|
35 | |||
36 | SOURCES += \ |
|
36 | SOURCES += \ | |
37 | dsu3plugin.cpp \ |
|
37 | dsu3plugin.cpp \ | |
38 | dsu3pluginui.cpp |
|
38 | dsu3pluginui.cpp | |
39 |
|
39 | |||
40 |
|
40 | |||
41 |
|
41 | |||
42 |
|
42 | |||
43 |
|
43 | |||
44 |
|
44 | |||
45 |
|
45 | |||
46 |
|
46 | |||
47 |
|
47 | |||
48 |
|
48 | |||
49 |
|
49 | |||
50 |
|
50 | |||
51 |
|
51 | |||
52 |
|
52 | |||
53 |
|
53 | |||
54 |
|
54 | |||
55 |
|
55 | |||
56 |
|
56 | |||
57 |
|
57 | |||
58 |
|
58 | |||
59 |
|
59 | |||
60 |
|
60 | |||
61 |
|
61 | |||
62 |
|
62 | |||
63 |
|
63 | |||
64 |
|
64 | |||
65 |
|
65 | |||
66 |
|
66 |
General Comments 0
You need to be logged in to leave comments.
Login now