]> git.pld-linux.org Git - packages/mtools.git/blobdiff - mtools.spec
- updated to 4.0.21
[packages/mtools.git] / mtools.spec
index e009f0f73ebfce69baef3512c27ed27f1de42a2c..13528e042e36bc1004eac8d656fd79521a6c9fe5 100644 (file)
 Summary:       Programs to access DOS disks w/o mounting them
 Summary:       Programs to access DOS disks w/o mounting them
-Summary(de):   Programme für den Zugriff auf DOS-Disks, ohne sie zu montieren 
-Summary(fr):   Programmes pour accéder aux disques DOS sans avoir à les monter
-Summary(pl):   Dostêp do dysków DOSa bez montowania
-Summary(tr):   Baðlama (mount) yapmadan DOS disklerine eriþim saðlar
+Summary(de.UTF-8):     Programme für den Zugriff auf DOS-Disks, ohne sie zu montieren
+Summary(es.UTF-8):     Programas para acceder discos DOS sin montarlos
+Summary(fr.UTF-8):     Programmes pour accéder aux disques DOS sans avoir à les monter
+Summary(pl.UTF-8):     Dostęp do dysków DOS-a bez montowania
+Summary(pt_BR.UTF-8):  Programas para acessar discos DOS sem montá-los
+Summary(tr.UTF-8):     Bağlama (mount) yapmadan DOS disklerine erişim sağlar
 Name:          mtools
 Name:          mtools
-Version:       3.9.6
-Release:       5
-License:       GPL
-Group:         Utilities/File
-Group(pl):     Narzêdzia/Pliki
-Source0:       http://www.tux.org/pub/tux/knaff/mtools/%{name}-%{version}.tar.gz
-Source1:       mtools.conf
-Patch0:                mtools-info.patch
-Patch1:                mtools-mzip.patch
-Patch2:                mtools-DESTDIR.patch
-Patch3:                mtools-paths.patch
-URL:           http://www.tux.org/pub/tux/knaff/mtools/
+Version:       4.0.21
+Release:       1
+License:       GPL v3+
+Group:         Applications/File
+Source0:       http://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.lz
+# Source0-md5: 70168a0a6dcdf4c4493724b3e226444e
+Source1:       %{name}.conf
+Source2:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source2-md5: 7af7d462db97b53e4bfdc4aa1e41b516
+Patch1:                %{name}-no_libnsl_and_libbsd.patch
+Patch2:                %{name}-pmake.patch
+URL:           http://www.gnu.org/software/mtools/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: lzip
+BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo
 BuildRequires: texinfo
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXau-devel
+Requires:      iconv
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _sysconfdir     /etc
-
 %description
 Mtools is a collection of utilities to access MS-DOS disks from Unix
 without mounting them. It supports Win'95 style long file names, OS/2
 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high
 density 3 1/2 disk).
 
 %description
 Mtools is a collection of utilities to access MS-DOS disks from Unix
 without mounting them. It supports Win'95 style long file names, OS/2
 Xdf disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high
 density 3 1/2 disk).
 
-%description -l de
+%description -l de.UTF-8
 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf
 Mtools ist eine Dienstprogrammsammlung zum Zugriff auf
-MS-DOS-Disketten, ohne daß diese montiert werden müssen. Es
-unterstützt Win'95-Dateinamen (lang), OS/2-Xdf-, ZIP/JAZ- und
+MS-DOS-Disketten, ohne daß diese montiert werden müssen. Es
+unterstützt Win'95-Dateinamen (lang), OS/2-Xdf-, ZIP/JAZ- und
 2m-Disketten (speichern bis zu 1992 KB auf einer HD 3 1/2-Diskette).
 
 2m-Disketten (speichern bis zu 1992 KB auf einer HD 3 1/2-Diskette).
 
-%description -l fr
-Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS
+%description -l es.UTF-8
+Mtools es una colección de utilitarios para acceder a discos MS-DOS en
+Unix sin montarlos. Soporta nombres largos de archivos estilo Win'95,
+discos OS/2 Xdf, discos ZIP/JAZ y discos 2m (almacena hasta 1992k en
+un disco 3 1/2 de alta densidad).
+
+%description -l fr.UTF-8
+Mtools est un ensemble d'utilitaires pour accéder aux disques MS-DOS
 depuis UNIX sans les monter. Il supporte les noms longs Windows 95,
 les diques Xdf OS/2, les disques ZIP et JAZ et les disques 2m
 (stockant 1992k sur une disquette 3,5\").
 
 depuis UNIX sans les monter. Il supporte les noms longs Windows 95,
 les diques Xdf OS/2, les disques ZIP et JAZ et les disques 2m
 (stockant 1992k sur une disquette 3,5\").
 
-%description -l pl
-Mtools to zbiór narzêdzi udostêpniaj±cych Unixowi DOSowe dyski bez ich
-montowania. Obs³uguje d³ugie nazwy Win95, dyski Xdf z OS/2, dyski
-ZIP/JAZ i dyski 2m (mieszcz±ce na 3.5-calowej dyskietce do 1992k).
+%description -l pl.UTF-8
+Mtools to zbiór narzędzi udostępniających Uniksowi DOS-owe dyski bez
+ich montowania. Obsługuje długie nazwy Win95, dyski Xdf z OS/2, dyski
+ZIP/JAZ i dyski 2m (mieszczące na 3.5-calowej dyskietce do 1992k).
 
 
-%description -l tr
-mtools, MS-DOS disklerine baðlanmadan (mount edilmeden) UNIX
-sistemlerinden eriþilebilmesini saðlar. Win'95 tarzý uzun dosya
+%description -l pt_BR.UTF-8
+Mtools é uma coleção de utilitários para acessar discos MS-DOS no Unix
+sem montá-los. Ele suporta nomes longos de arquivos estilo Win'95,
+discos OS/2 Xdf, discos ZIP/JAZ e discos 2m (armazena até 1992k em um
+disco 3 1/2 de alta densidade).
+
+%description -l tr.UTF-8
+mtools, MS-DOS disklerine bağlanmadan (mount edilmeden) UNIX
+sistemlerinden erişilebilmesini sağlar. Win'95 tarzı uzun dosya
 isimlerini, OS/2 Xdf disklerini, ZIP/JAZ disklerini ve 2m disklerini
 destekler.
 
 isimlerini, OS/2 Xdf disklerini, ZIP/JAZ disklerini ve 2m disklerini
 destekler.
 
+%package floppyd
+Summary:       floppyd - daemon for remote access to floppy drive
+Summary(pl.UTF-8):     floppyd - serwer zdalnego dostępu do stacji dyskietek
+Summary(pt_BR.UTF-8):  Daemon para acesso remoto a um drive de disquete
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+
+%description floppyd
+floppy daemon for remote access to floppy drive. floppyd_installtest -
+tests whether floppyd is installed and running
+
+%description floppyd -l pl.UTF-8
+Demon floppy do zdalnego dostępu do napędu dyskietek.
+floppyd_installtest - sprawdza, czy floppyd jest zainstalowany i
+działa.
+
+%description floppyd -l pt_BR.UTF-8
+Daemon para acesso remoto a um drive de disquete.
+
 %prep
 %setup -q
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 
 %build
-autoconf
-LDFLAGS="-s"; export LDFLAGS
-%configure
+cp /usr/share/automake/config.sub .
+%{__autoconf}
+%configure \
+       --enable-floppyd
+
+%{__make} \
+       MYCFLAGS="%{rpmcflags} -Wall"
 
 
-make MYCFLAGS="$RPM_OPT_FLAGS -Wall"
+%{__make} \
+       sysconfdir.texi
 
 
-(makeinfo --force mtools.texi; touch mtools.*)
-strip mtools mkmanifest
+makeinfo --force mtools.texi
+touch mtools.*
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_prefix},%{_sysconfdir}}
 
-make install DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
-
-gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/man{1,5}/*} \
-       Changelog README Release.notes TODO
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+tar -xjf %{SOURCE2} -C $RPM_BUILD_ROOT%{_mandir}
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.mtools-non-english-man-pages
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
 %files
 %defattr(644,root,root,755)
-%doc {Changelog,README,Release.notes,TODO}.gz
-%attr(755,root,root) %{_bindir}/*
-
-%{_mandir}/man[15]/*
-%{_infodir}/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mtools.conf
+%doc NEWS README Release.notes
+%attr(755,root,root) %{_bindir}/amuFormat.sh
+%attr(755,root,root) %{_bindir}/lz
+%attr(755,root,root) %{_bindir}/m*
+%attr(755,root,root) %{_bindir}/tgz
+%attr(755,root,root) %{_bindir}/uz
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mtools.conf
+%{_mandir}/man1/m*.1*
+%{_mandir}/man5/mtools.5*
+%lang(de) %{_mandir}/de/man1/m*.1*
+%lang(es) %{_mandir}/es/man1/m*.1*
+%lang(fi) %{_mandir}/fi/man1/m*.1*
+%lang(fr) %{_mandir}/fr/man1/m*.1*
+%lang(it) %{_mandir}/it/man1/m*.1*
+%lang(it) %{_mandir}/it/man5/mtools.5*
+%lang(pl) %{_mandir}/pl/man1/m*.1*
+%lang(pl) %{_mandir}/pl/man5/mtools.5*
+%{_infodir}/mtools.info*
+
+%files floppyd
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/floppyd*
+%{_mandir}/man1/floppyd*.1*
This page took 0.091621 seconds and 4 git commands to generate.