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