blob: d7224e8128b415b85424e46dc9d5dcc3ad5e8746 (
plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
%define name piklab-prog-qt4
%define version 0.15.2
%define release %mkrel 1
Summary: Command-line programmer and debugger for PIC and dsPIC microcontrollers
Name: %{name}
Version: %{version}
Release: %{release}
Source0: piklab-%{version}.tar.bz2
License: GPL
Group: Development/Other
Url: http://piklab.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: qt3-devel
BuildRequires: libusb-devel libreadline-devel ncurses-devel
Conflicts: piklab piklab-prog-qt3
Packager: hadacek@kde.org
Provides: piklab-prog piklab-hex
%description
"piklab-prog" is a command-line programmer and debugger for PIC and dsPIC
microcontrollers. It supports GPSim, and several Microchip and direct
programmers.
"piklab-hex" is a command-line utility to manipulate hex files.
%prep
%setup -q -n piklab-%{version}
%build
export TQTDIR=%_prefix/%{_lib}/qt4
export LD_LIBRARY_PATH=$TQTDIR/%{_lib}:$LD_LIBRARY_PATH
export PATH=$TQTDIR/bin:$PATH
export TQTLIB=$TQTDIR/%{_lib}
cd %_builddir/%buildsubdir
qmake piklab-prog.pro
%make -j1
%install
rm -rf %{buildroot}
%__mkdir_p %{buildroot}/%{_bindir}
cd %_builddir/%buildsubdir/src/piklab-prog
%__install -s -m 755 piklab-prog %{buildroot}/%{_bindir}/piklab-prog
cd %_builddir/%buildsubdir/src/piklab-hex
%__install -s -m 755 piklab-hex %{buildroot}/%{_bindir}/piklab-hex
%__mkdir_p %{buildroot}/%{_mandir}/man1
cd %_builddir/%buildsubdir/man
%__install -m 755 piklab-prog.1 %{buildroot}/%{_mandir}/man1/piklab-prog.1
%__install -m 755 piklab-hex.1 %{buildroot}/%{_mandir}/man1/piklab-hex.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,0755)
%doc README INSTALL COPYING Changelog TODO
%{_bindir}/*
%{_mandir}/man1/*
# --- changelog -----------------------------------------------------
%changelog
* Sun Nov 25 2007 Nicolas Hadacek <hadacek@kde.org> 0.15.2-1mdv2008.0
- new upstream release
* Sun Nov 11 2007 Nicolas Hadacek <hadacek@kde.org> 0.15.1-1mdv2008.0
- fixes
* Sat Oct 20 2007 Nicolas Hadacek <hadacek@kde.org> 0.15.0-1mdv2007.0
- new release
* Fri Aug 17 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.5-1mdv2007.0
- fix
* Sun Aug 5 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.4-1mdv2007.0
- fixes
* Fri Jul 27 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.3-1mdk
- fixes + new features
* Mon Apr 9 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.2-1mdk
- fixes + new features
* Sun Mar 11 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.1-1mdk
- fixes + new feature
* Sun Mar 4 2007 Nicolas Hadacek <hadacek@kde.org> 0.14.0-1mdk
- new version
* Thu Feb 8 2007 Nicolas Hadacek <hadacek@kde.org> 0.13.3-1mdk
- fixes
* Wed Jan 31 2007 Nicolas Hadacek <hadacek@kde.org> 0.13.2-1mdk
- fixes
* Sun Jan 28 2007 Nicolas Hadacek <hadacek@kde.org> 0.13.1-1mdk
- fixes
* Fri Jan 19 2007 Nicolas Hadacek <hadacek@kde.org> 0.13.0-1mdk
- new version
* Mon Oct 16 2006 Nicolas Hadacek <hadacek@kde.org> 0.12.2-1mdk
- fixes
* Sun Oct 15 2006 Nicolas Hadacek <hadacek@kde.org> 0.12.1-1mdk
- fixes
* Sun Oct 1 2006 Nicolas Hadacek <hadacek@kde.org> 0.12.0-1mdk
- new version
* Tue Sep 5 2006 Nicolas Hadacek <hadacek@kde.org> 0.11.2-1mdk
- more fixes
* Wed Aug 23 2006 Nicolas Hadacek <hadacek@kde.org> 0.11.1-1mdk
- some fixes
* Sun Aug 20 2006 Nicolas Hadacek <hadacek@kde.org> 0.11.0-1mdk
- new version
|