1 | #disable lxlite strip
|
---|
2 | %define __os_install_post %{nil}
|
---|
3 |
|
---|
4 | Summary: Exceptq creates a debugging report.
|
---|
5 | Name: exceptq
|
---|
6 | Version: 7.11.3
|
---|
7 | Release: 1%{?dist}
|
---|
8 | License: custom
|
---|
9 | Group: Development/Libraries
|
---|
10 | Source: exceptq-7.11.3-shl-2016-07-27.zip
|
---|
11 | #Source1: exceptq.h
|
---|
12 | #Source2: exceptq71-dev.zip
|
---|
13 |
|
---|
14 | Patch1: exceptq_h.diff
|
---|
15 |
|
---|
16 | %description
|
---|
17 | Exceptq creates a debugging report whenever a program that uses it
|
---|
18 | encounters a fatal exception (i.e. the app crashes). Programmers can
|
---|
19 | also use it to generate debugging reports while the app is running.
|
---|
20 |
|
---|
21 | It emits a two-tone beep, then generates the report and puts it in the
|
---|
22 | directory containing the .exe that crashed. The name is based on the
|
---|
23 | IDs of the process and thread that encountered the problem. For example,
|
---|
24 | '006C_01.TRP' describes a trap in process 6C, thread 1.
|
---|
25 |
|
---|
26 | Reports are typically 10-30k - small enough that it should be easy to
|
---|
27 | email them to the program's author, even on dialup. Most of the info
|
---|
28 | they contain is of little value to the user. However, you may want to
|
---|
29 | examine the last section, "DLLs accessible from this process", to see
|
---|
30 | if a dll was loaded from an incorrect or unexpected directory.
|
---|
31 |
|
---|
32 | If you have any questions about Exceptq - or any problems with it,
|
---|
33 | please contact:
|
---|
34 |
|
---|
35 | Rich Walsh <rich@e-vertise.com>
|
---|
36 | or
|
---|
37 | Steven Levine <steve53@earthlink.net>
|
---|
38 |
|
---|
39 | %package devel
|
---|
40 | Summary: Exceptq developer package
|
---|
41 |
|
---|
42 | %description devel
|
---|
43 | Exceptq developer package
|
---|
44 |
|
---|
45 |
|
---|
46 | %prep
|
---|
47 | %setup -q -c
|
---|
48 |
|
---|
49 | #%patch1 -p0 -b .bak
|
---|
50 | [ $? = 0 ] || exit 1
|
---|
51 |
|
---|
52 | %build
|
---|
53 |
|
---|
54 | %install
|
---|
55 | rm -rf %{buildroot}
|
---|
56 | mkdir -p %{buildroot}%{_bindir}
|
---|
57 | mkdir -p %{buildroot}%{_libdir}
|
---|
58 | mkdir -p %{buildroot}%{_includedir}
|
---|
59 |
|
---|
60 | cp -p dll/*.dll %{buildroot}%{_libdir}
|
---|
61 | cp -p dll/*.xqs %{buildroot}%{_libdir}
|
---|
62 |
|
---|
63 | cp -p bin/mapxqs.* %{buildroot}%{_bindir}
|
---|
64 | #cp -p exceptq71-dev/demangl.dll %{buildroot}%{_libdir}
|
---|
65 | cp -p include/exceptq.h %{buildroot}%{_includedir}
|
---|
66 |
|
---|
67 | %clean
|
---|
68 | rm -rf %{buildroot}
|
---|
69 |
|
---|
70 | %files
|
---|
71 | %defattr(-,root,root)
|
---|
72 | %{_libdir}/*.dll
|
---|
73 | #%exclude %{_libdir}/demangl.dll
|
---|
74 | %{_libdir}/*.xqs
|
---|
75 | #%doc distorm-shl.txt
|
---|
76 | %doc exceptq.txt
|
---|
77 | %doc exceptq-shl.txt
|
---|
78 | %doc HISTORY
|
---|
79 | %doc readme.exceptq
|
---|
80 |
|
---|
81 | %files devel
|
---|
82 | %defattr(-,root,root)
|
---|
83 | %{_bindir}/*
|
---|
84 | %{_includedir}/*.h
|
---|
85 | #%{_libdir}/demangl.dll
|
---|
86 | #%doc distorm-shl.txt
|
---|
87 | %doc exceptq.txt
|
---|
88 | %doc exceptq-shl.txt
|
---|
89 | %doc HISTORY
|
---|
90 | %doc readme.exceptq
|
---|
91 |
|
---|
92 | %changelog
|
---|
93 | * Mon Aug 01 2016 yd <yd@os2power.com> 7.11.3-1
|
---|
94 | - update to SHL 2016-07-27 binaries.
|
---|
95 | - revert header fix.
|
---|
96 |
|
---|
97 | * Tue May 20 2014 Dmitriy Kuminov <coding@dmik.org> 7.11-9
|
---|
98 | - Patch exceptq.h to fix usage in muptiple sources.
|
---|
99 |
|
---|
100 | * Tue Apr 29 2014 yd
|
---|
101 | - update to SHL 2014-03-03 binaries.
|
---|
102 |
|
---|
103 | * Fri Feb 28 2014 yd
|
---|
104 | - update to SHL 2014-02-07 binaries.
|
---|
105 |
|
---|
106 | * Mon Oct 28 2013 yd
|
---|
107 | - update to SHL 2013-10-15 binaries.
|
---|