]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux.spec
- build cfdisk and sfdisk on sparc too. Why it was disabled by default???
[packages/util-linux.git] / util-linux.spec
index 0eb9d271b48b15e6905a75eaf7afb0c05d437eb6..d7878520c673249cd743cda43a8945925d131f3f 100644 (file)
@@ -33,7 +33,9 @@ Release:      %{_rel}
 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
@@ -54,6 +56,7 @@ Patch12:      %{name}-cryptoapi.patch
 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}
@@ -347,17 +350,6 @@ Support for raw-devices.
 %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
@@ -381,6 +373,7 @@ util-linux dla bootkietki.
 %endif
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 CC="%{__cc}"
@@ -391,12 +384,6 @@ export CC CFLAGS LDFLAGS
 # 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 \
@@ -413,11 +400,6 @@ makeinfo ipc.texi
 %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}}
This page took 0.040377 seconds and 4 git commands to generate.