License: distributable
Group: Applications/System
Source0: ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux/%{name}-%{version}.tar.gz
-Source1: %{name}-non-english-man-pages.tar.bz2
+# Source0-md5: c669467901c77a9a0e84f37cee477bbe
+Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
Source2: login.pamd
Source3: rawdevices.init
Source4: rawdevices.sysconfig
Patch13: %{name}-losetup-getpass.patch
Patch14: %{name}-posixsh.patch
Patch15: %{name}-ppc-hwclock.patch
+Patch16: %{name}-sparctoo.patch
BuildRequires: gettext-devel
BuildRequires: grep
%{!?_with_uClibc:BuildRequires: ncurses-devel >= 5.0}
%description -n rawdevices -l pl
Obs³uga raw-device'ów.
-%package BOOT
-Summary: util-linux for bootdisk
-Summary(pl): util-linux dla bootkietki
-Group: Applications/System
-
-%description BOOT
-util-linux for bootdisk.
-
-%description BOOT -l pl
-util-linux dla bootkietki.
-
%prep
%setup -q -a1
%patch0 -p1
%endif
%patch14 -p1
%patch15 -p1
+%patch16 -p1
%build
CC="%{__cc}"
# configure and it doesn't take any parameters
./configure
-%if %{?BOOT:1}%{!?BOOT:0}
-%{__make} -C fdisk fdisk OPT="%{rpmcflags}" LDFLAGS="-static"
-mv -f fdisk/fdisk fdisk-BOOT
-%{__make} -C fdisk clean
-%endif
-
%{?_with_uClibc:echo 'char *nl_langinfo (nl_item x){return "";}' >> misc-utils/cal.c}
%{__make} OPT="%{rpmcflags}" \
MOREHELPDIR=%{_datadir}/misc \
%install
rm -rf $RPM_BUILD_ROOT
-%if %{?BOOT:1}%{!?BOOT:0}
-install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
-install fdisk-BOOT $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin/fdisk
-%endif
-
install -d $RPM_BUILD_ROOT/{bin,sbin,etc/{pam.d,logrotate,rc.d/init.d,sysconfig}} \
$RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_infodir},%{_datadir}/misc} \
$RPM_BUILD_ROOT{%{_examplesdir},%{_mandir}/man{1,5,6,8}}