| 1 | #disable lxlite strip
|
|---|
| 2 | %define __os_install_post %{nil}
|
|---|
| 3 |
|
|---|
| 4 | Summary: Exceptq creates a debugging report.
|
|---|
| 5 | Name: exceptq
|
|---|
| 6 | Version: 7.1
|
|---|
| 7 | Release: 3%{?dist}
|
|---|
| 8 | License: custom
|
|---|
| 9 | Group: Development/Libraries
|
|---|
| 10 | Source: exceptq71.zip
|
|---|
| 11 | Source1: exceptq.h
|
|---|
| 12 | Source2: exceptq71-dev.zip
|
|---|
| 13 |
|
|---|
| 14 | %description
|
|---|
| 15 | Exceptq creates a debugging report whenever a program that uses it
|
|---|
| 16 | encounters a fatal exception (i.e. the app crashes). Programmers can
|
|---|
| 17 | also use it to generate debugging reports while the app is running.
|
|---|
| 18 |
|
|---|
| 19 | It emits a two-tone beep, then generates the report and puts it in the
|
|---|
| 20 | directory containing the .exe that crashed. The name is based on the
|
|---|
| 21 | IDs of the process and thread that encountered the problem. For example,
|
|---|
| 22 | '006C_01.TRP' describes a trap in process 6C, thread 1.
|
|---|
| 23 |
|
|---|
| 24 | Reports are typically 10-30k - small enough that it should be easy to
|
|---|
| 25 | email them to the program's author, even on dialup. Most of the info
|
|---|
| 26 | they contain is of little value to the user. However, you may want to
|
|---|
| 27 | examine the last section, "DLLs accessible from this process", to see
|
|---|
| 28 | if a dll was loaded from an incorrect or unexpected directory.
|
|---|
| 29 |
|
|---|
| 30 | If you have any questions about Exceptq - or any problems with it,
|
|---|
| 31 | please contact:
|
|---|
| 32 |
|
|---|
| 33 | Rich Walsh <rich@e-vertise.com>
|
|---|
| 34 | or
|
|---|
| 35 | Steven Levine <steve53@earthlink.net>
|
|---|
| 36 |
|
|---|
| 37 | %package devel
|
|---|
| 38 | Summary: Exceptq developer package
|
|---|
| 39 |
|
|---|
| 40 | %description devel
|
|---|
| 41 | Exceptq developer package
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | %prep
|
|---|
| 45 | %setup -q -c -a 2
|
|---|
| 46 |
|
|---|
| 47 | %build
|
|---|
| 48 |
|
|---|
| 49 | %install
|
|---|
| 50 | rm -rf %{buildroot}
|
|---|
| 51 | mkdir -p %{buildroot}%{_bindir}
|
|---|
| 52 | mkdir -p %{buildroot}%{_libdir}
|
|---|
| 53 | mkdir -p %{buildroot}%{_includedir}
|
|---|
| 54 |
|
|---|
| 55 | cp distorm.* %{buildroot}%{_libdir}
|
|---|
| 56 | cp exceptq.* %{buildroot}%{_libdir}
|
|---|
| 57 |
|
|---|
| 58 | cp exceptq71-dev/mapxqs.* %{buildroot}%{_bindir}
|
|---|
| 59 | cp exceptq71-dev/demangl.dll %{buildroot}%{_libdir}
|
|---|
| 60 | cp %{SOURCE1} %{buildroot}%{_includedir}
|
|---|
| 61 | cp exceptq71-dev/exceptq.lib %{buildroot}%{_libdir}
|
|---|
| 62 |
|
|---|
| 63 | %clean
|
|---|
| 64 | rm -rf %{buildroot}
|
|---|
| 65 |
|
|---|
| 66 | %files
|
|---|
| 67 | %defattr(-,root,root)
|
|---|
| 68 | %{_libdir}/*.dll
|
|---|
| 69 | %{_libdir}/*.xqs
|
|---|
| 70 | %doc readme.exceptq
|
|---|
| 71 |
|
|---|
| 72 | %files devel
|
|---|
| 73 | %defattr(-,root,root)
|
|---|
| 74 | %{_bindir}/*
|
|---|
| 75 | %{_includedir}/*.h
|
|---|
| 76 | %{_libdir}/*.lib
|
|---|
| 77 | %doc exceptq71-dev/exceptq.txt
|
|---|