]> git.pld-linux.org Git - packages/PDCurses.git/blob - PDCurses.spec
- rel 4
[packages/PDCurses.git] / PDCurses.spec
1 Summary:        Public Domain Curses
2 Summary(pl):    Ogólnie dostêpna biblioteka Curses
3 Name:           PDCurses
4 Version:        2.6
5 Release:        4
6 Vendor:         Mark Hessling
7 Group:          Libraries
8 License:        Public Domain and LGPL
9 Source0:        http://dl.sourceforge.net/pdcurses/%{name}-%{version}.tar.gz
10 # Source0-md5:  a376c91c7fdfa0215f4c22024ca325f1
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-Makefile.patch
13 URL:            http://pdcurses.sourceforge.net/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 PDCurses is an implementation of the curses library for X11. It
20 provides the ability for existing text-mode curses programs to be
21 re-built as native X11 applications with very little modification.
22 PDCurses for X11 is also known as XCurses. For more information on
23 PDCurses, visit http://pdcurses.sourceforge.net/ .
24
25 %description -l pl
26 PDCurses jest implementacj± biblioteki curses dla X11. Umo¿liwia ona
27 przebudowanie istniej±cych programów tekstowych korzystaj±cych z
28 curses jako natywne aplikacje X11 po jedynie niewielkich
29 modyfikacjach. PDCurses dla X11 jest znana tak¿e jako XCurses. Wiêcej
30 informacji na temat PDCurses mo¿na znale¼æ na stronie
31 http://pdcurses.sourceforge.net/ .
32
33 %package devel
34 Summary:        Header files for PDCurses library
35 Summary(pl):    Pliki nag³ówkowe biblioteki PDCurses
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Header files for PDCurses library.
41
42 %description devel -l pl
43 Pliki nag³ówkowe biblioteki PDCurses.
44
45 %package static
46 Summary:        Static version of PDCurses library
47 Summary(pl):    Statyczna wersja biblioteki PDCurses
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 Static version of PDCurses library.
53
54 %description static -l pl
55 Statyczna wersja biblioteki PDCurses.
56
57 %prep
58 %setup -q
59 %patch0
60 %patch1 -p1
61
62 %build
63 cp -f /usr/share/automake/config.sub .
64 %{__autoconf}
65 %configure
66 %{__make} \
67         LD_RXLIB2="-Wl,-soname=libXCurses.so -L/usr/X11R6/%{_lib} -lXaw -lXmu -lXt -lX11"
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc README TODO
84 %attr(755,root,root) %{_libdir}/libXCurses.so
85
86 %files devel
87 %defattr(644,root,root,755)
88 %doc doc/*
89 %attr(755,root,root) %{_bindir}/xcurses-config
90 # this one is static-only
91 %{_libdir}/libXpanel.a
92 %{_includedir}/%{name}
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libXCurses.a
This page took 0.096011 seconds and 4 git commands to generate.