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