~ubuntu-branches/debian/lenny/mtools/lenny

« back to all changes in this revision

Viewing changes to mtools.spec

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2006-07-08 12:36:15 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708123615-0vrt17kv065uagfw
Replaced libx11-dev and libxau-dev by xlibs-static-dev and
libxt-dev as build-dependencies. Please refer to #347025.
Closes: #367558. Patch by Vincent Rivière <riviere@iut-rodez.fr>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Summary: mtools, read/write/list/format DOS disks under Unix
2
2
Name: mtools
3
 
Version: 3.9.9
4
 
Release: 2
5
 
#Icon: mtools-icon.gif
6
 
Copyright: GPL/Lilux
 
3
Version: 3.9.10
 
4
Release: 1
7
5
Group: Utilities/System
8
 
Source: mtools-3.9.9.tar.gz
 
6
URL: http://mtools.linux.lu
 
7
Source0: mtools-%{version}.tar.gz
 
8
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
 
9
License: GPL
9
10
%description
10
11
Mtools is a collection of utilities to access MS-DOS disks
11
12
from Unix without mounting them. It supports Win'95 style
14
15
 
15
16
 
16
17
%prep
17
 
%setup
18
 
./configure --prefix=/usr --infodir=/usr/share/info
 
18
%setup -q
 
19
./configure --prefix=%{buildroot}%{_prefix} --sysconfdir=/etc --infodir=%{buildroot}%{_infodir} --mandir=%{buildroot}%{_mandir}
19
20
 
20
21
%build
21
22
make
22
23
 
 
24
%clean
 
25
[ X%{buildroot} != X ] && [ X%{buildroot} != X/ ] && rm -r %{buildroot}
 
26
 
23
27
%install
24
28
make install
25
29
make install-info
26
 
/usr/bin/strip /usr/bin/mtools /usr/bin/mkmanifest /usr/bin/floppyd
 
30
strip %{buildroot}%{_bindir}/mtools %{buildroot}%{_bindir}/mkmanifest %{buildroot}%{_bindir}/floppyd
27
31
 
28
32
%files
29
 
/usr/share/info/mtools.info.gz
30
 
/usr/man/man1/floppyd.1
31
 
/usr/man/man1/mattrib.1
32
 
/usr/man/man1/mbadblocks.1
33
 
/usr/man/man1/mcat.1
34
 
/usr/man/man1/mcd.1
35
 
/usr/man/man1/mcopy.1
36
 
/usr/man/man1/mdel.1
37
 
/usr/man/man1/mdeltree.1
38
 
/usr/man/man1/mdir.1
39
 
/usr/man/man1/mdu.1
40
 
/usr/man/man1/mformat.1
41
 
/usr/man/man1/mkmanifest.1
42
 
/usr/man/man1/mlabel.1
43
 
/usr/man/man1/mmd.1
44
 
/usr/man/man1/mmount.1
45
 
/usr/man/man1/mmove.1
46
 
/usr/man/man1/mpartition.1
47
 
/usr/man/man1/mrd.1
48
 
/usr/man/man1/mren.1
49
 
/usr/man/man1/mshowfat.1
50
 
/usr/man/man1/mtools.1
51
 
/usr/man/man5/mtools.5
52
 
/usr/man/man1/mtoolstest.1
53
 
/usr/man/man1/mtype.1
54
 
/usr/man/man1/mzip.1
55
 
/usr/bin/mattrib
56
 
/usr/bin/mbadblocks
57
 
/usr/bin/mcat
58
 
/usr/bin/mcd
59
 
/usr/bin/mcopy
60
 
/usr/bin/mdel
61
 
/usr/bin/mdeltree
62
 
/usr/bin/mdir
63
 
/usr/bin/mdu
64
 
/usr/bin/mformat
65
 
/usr/bin/minfo
66
 
/usr/bin/mkmanifest
67
 
/usr/bin/mlabel
68
 
/usr/bin/mmd
69
 
/usr/bin/mmount
70
 
/usr/bin/mmove
71
 
/usr/bin/mpartition
72
 
/usr/bin/mrd
73
 
/usr/bin/mren
74
 
/usr/bin/mshowfat
75
 
/usr/bin/mtools
76
 
/usr/bin/mtoolstest
77
 
/usr/bin/mtype
78
 
/usr/bin/mzip
79
 
/usr/bin/floppyd
80
 
/usr/bin/mcheck
81
 
/usr/bin/mcomp
82
 
/usr/bin/mxtar
83
 
/usr/bin/tgz
84
 
/usr/bin/uz
 
33
%{_infodir}/mtools.info*
 
34
%{_mandir}/man1/floppyd.1*
 
35
%{_mandir}/man1/floppyd_installtest.1.gz
 
36
%{_mandir}/man1/mattrib.1*
 
37
%{_mandir}/man1/mbadblocks.1*
 
38
%{_mandir}/man1/mcat.1*
 
39
%{_mandir}/man1/mcd.1*
 
40
%{_mandir}/man1/mclasserase.1*
 
41
%{_mandir}/man1/mcopy.1*
 
42
%{_mandir}/man1/mdel.1*
 
43
%{_mandir}/man1/mdeltree.1*
 
44
%{_mandir}/man1/mdir.1*
 
45
%{_mandir}/man1/mdu.1*
 
46
%{_mandir}/man1/mformat.1*
 
47
%{_mandir}/man1/minfo.1*
 
48
%{_mandir}/man1/mkmanifest.1*
 
49
%{_mandir}/man1/mlabel.1*
 
50
%{_mandir}/man1/mmd.1*
 
51
%{_mandir}/man1/mmount.1*
 
52
%{_mandir}/man1/mmove.1*
 
53
%{_mandir}/man1/mpartition.1*
 
54
%{_mandir}/man1/mrd.1*
 
55
%{_mandir}/man1/mren.1*
 
56
%{_mandir}/man1/mshowfat.1*
 
57
%{_mandir}/man1/mtools.1*
 
58
%{_mandir}/man5/mtools.5*
 
59
%{_mandir}/man1/mtoolstest.1*
 
60
%{_mandir}/man1/mtype.1*
 
61
%{_mandir}/man1/mzip.1*
 
62
%{_bindir}/amuFormat.sh
 
63
%{_bindir}/mattrib
 
64
%{_bindir}/mbadblocks
 
65
%{_bindir}/mcat
 
66
%{_bindir}/mcd
 
67
%{_bindir}/mclasserase
 
68
%{_bindir}/mcopy
 
69
%{_bindir}/mdel
 
70
%{_bindir}/mdeltree
 
71
%{_bindir}/mdir
 
72
%{_bindir}/mdu
 
73
%{_bindir}/mformat
 
74
%{_bindir}/minfo
 
75
%{_bindir}/mkmanifest
 
76
%{_bindir}/mlabel
 
77
%{_bindir}/mmd
 
78
%{_bindir}/mmount
 
79
%{_bindir}/mmove
 
80
%{_bindir}/mpartition
 
81
%{_bindir}/mrd
 
82
%{_bindir}/mren
 
83
%{_bindir}/mshowfat
 
84
%{_bindir}/mtools
 
85
%{_bindir}/mtoolstest
 
86
%{_bindir}/mtype
 
87
%{_bindir}/mzip
 
88
%{_bindir}/floppyd
 
89
%{_bindir}/floppyd_installtest
 
90
%{_bindir}/mcheck
 
91
%{_bindir}/mcomp
 
92
%{_bindir}/mxtar
 
93
%{_bindir}/tgz
 
94
%{_bindir}/uz
85
95
 
86
96
%pre
87
97
groupadd floppy 2>/dev/null || echo -n ""
88
98
 
89
99
%post
90
 
if [ -f /usr/bin/install-info ] ; then
91
 
        if [ -f /usr/info/dir ] ; then
92
 
                /usr/bin/install-info /usr/info/mtools.info /usr/info/dir
 
100
if [ -f %{_bindir}/install-info ] ; then
 
101
        if [ -f %{_infodir}/dir ] ; then
 
102
                %{_bindir}/install-info %{_infodir}/mtools.info %{_infodir}/dir
93
103
        fi
94
 
        if [ -f /usr/info/dir.info ] ; then
95
 
                /usr/bin/install-info /usr/info/mtools.info /usr/info/dir.info
 
104
        if [ -f %{_infodir}/dir.info ] ; then
 
105
                %{_bindir}/install-info %{_infodir}/mtools.info %{_infodir}/dir.info
96
106
        fi
97
107
fi
98
108
 
99
109
 
100
110
%preun
101
 
install-info --delete /usr/info/mtools.info /usr/info/dir.info
102
 
if [ -f /usr/bin/install-info ] ; then
103
 
        if [ -f /usr/info/dir ] ; then
104
 
                /usr/bin/install-info --delete /usr/info/mtools.info /usr/info/dir
 
111
install-info --delete %{_infodir}/mtools.info %{_infodir}/dir.info
 
112
if [ -f %{_bindir}/install-info ] ; then
 
113
        if [ -f %{_infodir}/dir ] ; then
 
114
                %{_bindir}/install-info --delete %{_infodir}/mtools.info %{_infodir}/dir
105
115
        fi
106
 
        if [ -f /usr/info/dir.info ] ; then
107
 
                /usr/bin/install-info --delete /usr/info/mtools.info /usr/info/dir.info
 
116
        if [ -f %{_infodir}/dir.info ] ; then
 
117
                %{_bindir}/install-info --delete %{_infodir}/mtools.info %{_infodir}/dir.info
108
118
        fi
109
119
fi