Browse Source

switch to %option(s)

master
parent
commit
e32babfbd1
  1. 13
      sa/sa.spec
  2. 13
      samba/samba.spec
  3. 13
      spegla/spegla.spec
  4. 13
      sudo/sudo.spec
  5. 13
      tcl/tcl.spec
  6. 13
      tetex/tetex.spec
  7. 13
      vim/vim.spec

13
sa/sa.spec

@ -23,9 +23,7 @@
## ##
# package options # package options
%ifndef with_ex %option with_ex no
%define with_ex no
%endif
# package information # package information
Name: sa Name: sa
@ -37,7 +35,7 @@ Distribution: OpenPKG [PLUS]
Group: System Group: System
License: MIT/X11-style License: MIT/X11-style
Version: 1.0.2 Version: 1.0.2
Release: 20021216 Release: 20021230
# list of sources # list of sources
Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz
@ -45,8 +43,8 @@ Source0: ftp://ftp.ossp.org/pkg/lib/sa/sa-%{version}.tar.gz
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206 BuildPreReq: OpenPKG, openpkg >= 20021230
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20021230
%if "%{with_ex}" == "yes" %if "%{with_ex}" == "yes"
BuildPreReq: ex BuildPreReq: ex
PreReq: ex PreReq: ex
@ -62,8 +60,7 @@ AutoReqProv: no
(local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream
buffering and convenience I/O functions. buffering and convenience I/O functions.
Options: %options
--define 'with_ex %{with_ex}'
%prep %prep
%setup -q %setup -q

13
samba/samba.spec

@ -24,9 +24,7 @@
## ##
# package options # package options
%ifndef with_pam %option with_pam no
%define with_pam no
%endif
# package information # package information
Name: samba Name: samba
@ -38,7 +36,7 @@ Distribution: OpenPKG [BASE]
Group: Filesystem Group: Filesystem
License: GPL License: GPL
Version: 2.2.7a Version: 2.2.7a
Release: 20021212 Release: 20021230
# list of sources # list of sources
Source0: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2 Source0: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2
@ -49,8 +47,8 @@ Source3: rc.samba
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, openssl BuildPreReq: OpenPKG, openpkg >= 20021230, openssl
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20021230
%if "%{with_pam}" == "yes" %if "%{with_pam}" == "yes"
BuildPreReq: PAM BuildPreReq: PAM
PreReq: PAM PreReq: PAM
@ -62,8 +60,7 @@ AutoReqProv: no
Samba is an open source software suite that provides seamless file Samba is an open source software suite that provides seamless file
and print services to SMB/CIFS clients. and print services to SMB/CIFS clients.
Options: %options
--define 'with_pam %{with_pam}'
%prep %prep
%setup -q %setup -q

13
spegla/spegla.spec

@ -24,9 +24,7 @@
## ##
# package options # package options
%ifndef with_ipv6 %option with_ipv6 no
%define with_ipv6 no
%endif
# package information # package information
Name: spegla Name: spegla
@ -38,7 +36,7 @@ Distribution: OpenPKG [EVAL]
Group: Network Group: Network
License: BSD License: BSD
Version: 1.1p4 Version: 1.1p4
Release: 20020619 Release: 20021230
# list of sources # list of sources
Source0: ftp://subzero.campus.luth.se/pub/spegla/spegla-%{version}.tar.gz Source0: ftp://subzero.campus.luth.se/pub/spegla/spegla-%{version}.tar.gz
@ -51,16 +49,15 @@ Patch1: http://www.imasy.or.jp/~ume/ipv6/spegla-1.1p4-ipv6-20020129.diff.g
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206 BuildPreReq: OpenPKG, openpkg >= 20021230
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20021230
AutoReq: no AutoReq: no
AutoReqProv: no AutoReqProv: no
%description %description
Spegla is fast mirroring tool for the File Transfer Protocol (FTP). Spegla is fast mirroring tool for the File Transfer Protocol (FTP).
Options: %options
--define 'with_ipv6 %{with_ipv6}'
%prep %prep
%setup -q %setup -q

13
sudo/sudo.spec

@ -24,9 +24,7 @@
## ##
# package options # package options
%ifndef with_pam %option with_pam no
%define with_pam no
%endif
# package information # package information
Name: sudo Name: sudo
@ -38,7 +36,7 @@ Distribution: OpenPKG [BASE]
Group: System Group: System
License: BSD License: BSD
Version: 1.6.6 Version: 1.6.6
Release: 20020916 Release: 20021230
# list of sources # list of sources
Source0: ftp://ftp.courtesan.com/pub/sudo/sudo-%{version}.tar.gz Source0: ftp://ftp.courtesan.com/pub/sudo/sudo-%{version}.tar.gz
@ -46,8 +44,8 @@ Source0: ftp://ftp.courtesan.com/pub/sudo/sudo-%{version}.tar.gz
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, MTA BuildPreReq: OpenPKG, openpkg >= 20021230, MTA
PreReq: OpenPKG, openpkg >= 20020206, MTA PreReq: OpenPKG, openpkg >= 20021230, MTA
%if "%{with_pam}" == "yes" %if "%{with_pam}" == "yes"
BuildPreReq: PAM BuildPreReq: PAM
PreReq: PAM PreReq: PAM
@ -60,8 +58,7 @@ AutoReqProv: no
users (or groups of users) the ability to run some (or all) commands users (or groups of users) the ability to run some (or all) commands
as root or another user while logging the commands and arguments. as root or another user while logging the commands and arguments.
Options: %options
--define 'with_pam %{with_pam}'
%prep %prep
%setup -q %setup -q

13
tcl/tcl.spec

@ -29,9 +29,7 @@
%define V_level 1 %define V_level 1
# package options # package options
%ifndef with_x11 %option with_x11 %{l_test -p x11}
%define with_x11 %{l_test -p x11}
%endif
# package information # package information
Name: tcl Name: tcl
@ -43,7 +41,7 @@ Distribution: OpenPKG [BASE]
Group: Language Group: Language
License: GPL License: GPL
Version: %{V_major}.%{V_minor}.%{V_level} Version: %{V_major}.%{V_minor}.%{V_level}
Release: 20021023 Release: 20021230
# list of sources # list of sources
Source0: ftp://ftp.scriptics.com/pub/tcl/tcl%{V_major}_%{V_minor}/tcl%{V_major}.%{V_minor}.%{V_level}-src.tar.gz Source0: ftp://ftp.scriptics.com/pub/tcl/tcl%{V_major}_%{V_minor}/tcl%{V_major}.%{V_minor}.%{V_level}-src.tar.gz
@ -52,8 +50,8 @@ Source1: ftp://ftp.scriptics.com/pub/tcl/tcl%{V_major}_%{V_minor}/tk%{V_maj
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206 BuildPreReq: OpenPKG, openpkg >= 20021230
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20021230
%if "%{with_x11}" == "yes" %if "%{with_x11}" == "yes"
BuildPreReq: X11 BuildPreReq: X11
PreReq: X11 PreReq: X11
@ -65,8 +63,7 @@ AutoReqProv: no
The Tool Command Language (TCL), optionally including the The Tool Command Language (TCL), optionally including the
popular TCL Widget Toolkit (Tk). popular TCL Widget Toolkit (Tk).
Options: %options
--define 'with_x11 %{with_x11}'
%prep %prep
%setup0 -q -c -n tcl-%{V_major}.%{V_minor}.%{V_level} %setup0 -q -c -n tcl-%{V_major}.%{V_minor}.%{V_level}

13
tetex/tetex.spec

@ -28,9 +28,7 @@
%define V_texmf 1.0.2 %define V_texmf 1.0.2
# package options # package options
%ifndef with_x11 %option with_x11 %{l_test -p x11}
%define with_x11 %{l_test -p x11}
%endif
# package information # package information
Name: tetex Name: tetex
@ -42,7 +40,7 @@ Distribution: OpenPKG [BASE]
Group: Text Group: Text
License: GPL License: GPL
Version: %{V_src} Version: %{V_src}
Release: 20021216 Release: 20021230
# list of sources # list of sources
Source0: ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-%{V_src}.tar.gz Source0: ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-%{V_src}.tar.gz
@ -54,8 +52,8 @@ Patch0: tetex.patch
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20021204, make, infozip, flex, bison BuildPreReq: OpenPKG, openpkg >= 20021230, make, infozip, flex, bison
PreReq: OpenPKG, openpkg >= 20021204 PreReq: OpenPKG, openpkg >= 20021230
%if "%{with_x11}" == "yes" %if "%{with_x11}" == "yes"
BuildPreReq: X11 BuildPreReq: X11
PreReq: X11 PreReq: X11
@ -72,8 +70,7 @@ AutoReqProv: no
xmltex (namespace-aware XML parser written in TeX) and Sebastian xmltex (namespace-aware XML parser written in TeX) and Sebastian
Rahtz' PassiveTeX (XML-FO rendering engine). Rahtz' PassiveTeX (XML-FO rendering engine).
Options: %options
--define 'with_x11 %{with_x11}'
%prep %prep
%setup -q -n teTeX-%{V_base} %setup -q -n teTeX-%{V_base}

13
vim/vim.spec

@ -29,9 +29,7 @@
%define V_pl 267 %define V_pl 267
# package options # package options
%ifndef with_x11 %option with_x11 no
%define with_x11 no
%endif
# package information # package information
Name: vim Name: vim
@ -43,7 +41,7 @@ Distribution: OpenPKG [CORE]
Group: Editor Group: Editor
License: Charityware License: Charityware
Version: %{V_vl}.%{V_pl} Version: %{V_vl}.%{V_pl}
Release: 20021228 Release: 20021230
# list of sources # list of sources
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}-src1.tar.gz Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{V_vl}-src1.tar.gz
@ -124,8 +122,8 @@ Patch267: ftp://ftp.vim.org/pub/vim/patches/%{V_vl}.267
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020714 BuildPreReq: OpenPKG, openpkg >= 20021230
PreReq: OpenPKG, openpkg >= 20020714 PreReq: OpenPKG, openpkg >= 20021230
%if "%{with_x11}" == "yes" %if "%{with_x11}" == "yes"
BuildPreReq: X11, gtk BuildPreReq: X11, gtk
PreReq: X11, gtk PreReq: X11, gtk
@ -141,8 +139,7 @@ AutoReqProv: no
multi windows and buffers, syntax highlighting, com- mand line editing, multi windows and buffers, syntax highlighting, com- mand line editing,
filename completion, on-line help, and visual selection. filename completion, on-line help, and visual selection.
Options: %options
--define 'with_x11 %{with_x11}'
%prep %prep
%setup0 -q -c %setup0 -q -c

Loading…
Cancel
Save