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