View | Details | Raw Unified | Return to bug 5561
Collapse All | Expand All

(-)ncurses.spec.orig (+29 lines)
Lines 106-116 Link Here
106
Requires: lib%name++-devel = 0:%version-%release, lib%name-devel-static = 0:%version-%release
106
Requires: lib%name++-devel = 0:%version-%release, lib%name-devel-static = 0:%version-%release
107
107
108
# UTF-8 extentions
108
# UTF-8 extentions
109
%if_with utf8
109
%package -n lib%{name}w
110
%package -n lib%{name}w
110
Summary: A CRT screen handling and optimization libraries with wide character support
111
Summary: A CRT screen handling and optimization libraries with wide character support
111
Group: System/Libraries
112
Group: System/Libraries
112
PreReq: libtinfo = 0:%version-%release
113
PreReq: libtinfo = 0:%version-%release
113
114
115
%package -n lib%{name}w-devel
116
Summary: Development files for applications which use %name (widechar version)
117
Group: Development/C
118
Requires: lib%{name}w = 0:%version-%release, lib%name-devel = 0:%version-%release
119
%endif
120
114
%description
121
%description
115
The curses library routines are a terminal-independent method of updating
122
The curses library routines are a terminal-independent method of updating
116
character screens with reasonable optimization.  The %name (new curses)
123
character screens with reasonable optimization.  The %name (new curses)
Lines 230-235 Link Here
230
applications that use c++ interface to ncurses routines.
237
applications that use c++ interface to ncurses routines.
231
238
232
#UTF8 extentions
239
#UTF8 extentions
240
%if_with utf8
233
%description -n lib%{name}w
241
%description -n lib%{name}w
234
The curses library routines are a terminal-independent method of updating
242
The curses library routines are a terminal-independent method of updating
235
character screens with reasonable optimization.  The %name (new curses)
243
character screens with reasonable optimization.  The %name (new curses)
Lines 237-242 Link Here
237
classic curses library.
245
classic curses library.
238
This package contains a %name library with wide character support.
246
This package contains a %name library with wide character support.
239
247
248
%description -n lib%{name}w-devel
249
The curses library routines are a terminal-independent method of updating
250
character screens with reasonable optimization.  The %name (new curses)
251
library is a freely distributable replacement for the discontinued 4.4BSD
252
classic curses library.
253
254
This package contains include files for developing applications that use
255
the %name CRT screen handling and optimization package (widechar version).
256
%endif
257
240
%prep
258
%prep
241
%setup -q -a100
259
%setup -q -a100
242
260
Lines 396-401 Link Here
396
	DESTDIR=$RPM_BUILD_ROOT \
414
	DESTDIR=$RPM_BUILD_ROOT \
397
	includedir=%_includedir/%name
415
	includedir=%_includedir/%name
398
416
417
%__ln_s %name $RPM_BUILD_ROOT%_includedir/%{name}w
399
%if_with cxx
418
%if_with cxx
400
# Install c++ shared library.
419
# Install c++ shared library.
401
%__install -p -m644 lib/libncursesw++.so.%version $RPM_BUILD_ROOT%_libdir/
420
%__install -p -m644 lib/libncursesw++.so.%version $RPM_BUILD_ROOT%_libdir/
Lines 551-556 Link Here
551
570
552
%files -n lib%name-devel
571
%files -n lib%name-devel
553
%_libdir/lib*.so
572
%_libdir/lib*.so
573
%if_with utf8
574
%exclude %_libdir/lib*[musl]w.so
575
%endif # with_utf8
554
%exclude %_libdir/libtinfo*.so
576
%exclude %_libdir/libtinfo*.so
555
%if_with cxx
577
%if_with cxx
556
%exclude %_libdir/libncurses++*.so
578
%exclude %_libdir/libncurses++*.so
Lines 565-570 Link Here
565
%exclude %_includedir/%name/cursslk.h
587
%exclude %_includedir/%name/cursslk.h
566
%exclude %_includedir/%name/etip.h
588
%exclude %_includedir/%name/etip.h
567
%endif # with_cxx
589
%endif # with_cxx
590
%if_with utf8
591
%exclude %_includedir/%{name}w
592
%endif # with_utf8
568
%_man3dir/*
593
%_man3dir/*
569
%dir %_docdir/%name-%version
594
%dir %_docdir/%name-%version
570
%_docdir/%name-%version/[a-z]*
595
%_docdir/%name-%version/[a-z]*
Lines 597-602 Link Here
597
%if_with utf8
622
%if_with utf8
598
%files -n lib%{name}w
623
%files -n lib%{name}w
599
%_libdir/lib*[musl]w.so.*
624
%_libdir/lib*[musl]w.so.*
625
626
%files -n lib%{name}w-devel
627
%_libdir/lib*[musl]w.so
628
%_includedir/%{name}w
600
%endif # with_utf8
629
%endif # with_utf8
601
630
602
%changelog
631
%changelog

Return to bug 5561