]>
Commit | Line | Data |
---|---|---|
68dfe0b0 | 1 | Summary: Public Domain Curses |
2 | Name: PDCurses | |
3 | Version: 2.6 | |
4 | Release: 1 | |
5 | Vendor: Mark Hessling | |
6 | Group: Development/Languages | |
7 | License: Public Domain and LGPL | |
8 | Source0: http://dl.sourceforge.net/sourceforge/pdcurses/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: a376c91c7fdfa0215f4c22024ca325f1 | |
10 | Patch0: %{name}-DESTDIR.patch | |
11 | URL: http://pdcurses.sourceforge.net | |
12 | BuildRequires: XFree86-devel | |
13 | BuildRequires: autoconf | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | PDCurses is an implementation of the curses library for X11. It | |
18 | provides the ability for existing text-mode curses programs to be | |
19 | re-built as native X11 applications with very little modification. | |
20 | PDCurses for X11 is also known as XCurses. For more information on | |
21 | PDCurses, visit http://pdcurses.sourceforge.net | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 | |
26 | ||
27 | %build | |
28 | %{__autoconf} | |
29 | %configure | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %attr(755,root,root) %{_bindir}/* | |
42 | %attr(755,root,root) %{_libdir}/*.so | |
43 | %{_libdir}/*.a | |
44 | %{_includedir}/%{name}/*.h | |
45 | %doc README TODO doc/ |