Lines Matching +full:- +full:- +full:build +full:- +full:root
2 %global AppProgram ncurses-examples
3 %global AltProgram ncursest-examples
6 # $Id: ncurses-examples.spec,v 1.22 2023/02/25 23:10:49 tom Exp $
12 URL: https://invisible-island.net/ncurses/%{AppProgram}.html
13 Source: https://invisible-island.net/archives/%{AppProgram}/%{AppProgram}-%{release}.tgz
17 for patch-date YYYYMMDD.
22 %package -n %{AltProgram}
25 %description -n %{AltProgram}
27 for patch-date YYYYMMDD, using the "ncurseswt" library to demonstrate the
35 %setup -q -n %{AppProgram}-%{AppRelease}
39 %build
44 mkdir BUILD-%{AppProgram}
45 pushd BUILD-%{AppProgram}
50 --target %{_target_platform} \
51 --prefix=%{_prefix} \
52 --datadir=%{_datarootdir}/%{AppProgram} \
53 --with-screen=ncursesw6dev \
54 --disable-rpath-hack
59 mkdir BUILD-%{AltProgram}
60 pushd BUILD-%{AltProgram}
65 --target %{_target_platform} \
66 --prefix=%{_prefix} \
67 --datadir=%{_datarootdir}/%{AltProgram} \
68 --with-screen=ncursestw6dev \
69 --disable-rpath-hack
75 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
77 pushd BUILD-%{AppProgram}
81 pushd BUILD-%{AltProgram}
85 %files -n %{AppProgram}
86 %defattr(-,root,root)
91 %files -n %{AltProgram}
92 %defattr(-,root,root)
101 - amend URLs per rpmlint
104 - use libexecdir for programs rather than subdir of bindir
107 - modify clean-rule to work around Fedora NFS bugs.
110 - add example data-files
111 - use rpm built-in "configure"
112 - suppress debug-package
115 - initial version