View | Details | Raw Unified | Return to bug 5773
Collapse All | Expand All

(-)amanda.spec.orig (-26 / +32 lines)
Lines 2-8 Link Here
2
2
3
Name: amanda
3
Name: amanda
4
Version: 2.4.4
4
Version: 2.4.4
5
Release: alt7
5
Release: alt8
6
Packager: Grigory Batalov <bga@altlinux.ru>
6
Packager: Grigory Batalov <bga@altlinux.ru>
7
7
8
Summary: The server side of the AMANDA tape backup system
8
Summary: The server side of the AMANDA tape backup system
Lines 11-17 Link Here
11
Group: Archiving/Backup
11
Group: Archiving/Backup
12
Url: http://www.amanda.org
12
Url: http://www.amanda.org
13
13
14
Source0: http://download.sourceforge.net/amanda/%name-%{version}p2.tar.bz2
14
Source0: http://download.sourceforge.net/amanda/%name-%{version}p4.tar.bz2
15
Source1: amanda.crontab.bz2
15
Source1: amanda.crontab.bz2
16
Source2: __README_QUICKSETUP__.bz2
16
Source2: __README_QUICKSETUP__.bz2
17
Source3: amanda.conf.bz2
17
Source3: amanda.conf.bz2
Lines 27-34 Link Here
27
Patch4: amanda-2.4.4p1-alt-shmctl.patch
27
Patch4: amanda-2.4.4p1-alt-shmctl.patch
28
Patch5: amanda-2.4.4p2-alt-gnuplot.patch
28
Patch5: amanda-2.4.4p2-alt-gnuplot.patch
29
29
30
# Automatically added by buildreq on Mon Jan 26 2004
30
BuildRequires: gcc-c++ dump flex gnuplot hostinfo libattr libldap libncurses-devel libreadline-devel libssl mailx mt-st ncompress xfsdump
31
BuildRequires: dump flex gnuplot hostinfo libattr libldap libncurses-devel libreadline-devel libssl mailx mt-st ncompress xfsdump
32
31
33
ExcludeArch: ia64
32
ExcludeArch: ia64
34
33
Lines 36-42 Link Here
36
# Requires: tar samba-client perl-base awk gnuplot readline/termcap
35
# Requires: tar samba-client perl-base awk gnuplot readline/termcap
37
# bison flex
36
# bison flex
38
37
39
Requires: gnuplot mailx mt-st %name-common = %version
38
Requires: gnuplot mailx mt-st %name-common = %version-%release
40
39
41
#libtermcap
40
#libtermcap
42
#BuildRequires:	libtermcap-devel flex automake autoconf readline-devel
41
#BuildRequires:	libtermcap-devel flex automake autoconf readline-devel
Lines 91-97 Link Here
91
Group: Archiving/Backup
90
Group: Archiving/Backup
92
#PreReq: fileutils grep /sbin/service xinetd
91
#PreReq: fileutils grep /sbin/service xinetd
93
#PreReq:		rpm-helper
92
#PreReq:		rpm-helper
94
Requires: %name-common = %version
93
Requires: %name-common = %version-%release
95
94
96
%description client
95
%description client
97
The %name-client package should be installed on any machine that will
96
The %name-client package should be installed on any machine that will
Lines 108-114 Link Here
108
Summary: Development libraries of AMANDA
107
Summary: Development libraries of AMANDA
109
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÉ AMANDA ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
108
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÉ AMANDA ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
110
Group: Development/Other
109
Group: Development/Other
111
Requires: %name-common = %version %name-client = %version %name = %version
110
Requires: %name-common = %version-%release %name-client = %version-%release %name = %version-%release
112
111
113
%description devel
112
%description devel
114
The %name-devel package should be installed on any machine that will
113
The %name-devel package should be installed on any machine that will
Lines 121-127 Link Here
121
Summary: Static development libraries of AMANDA
120
Summary: Static development libraries of AMANDA
122
Summary(ru_RU.KOI8-R): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ AMANDA ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
121
Summary(ru_RU.KOI8-R): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ AMANDA ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
123
Group: Development/Other
122
Group: Development/Other
124
Requires: %name-devel = %version
123
Requires: %name-devel = %version-%release
125
124
126
%description devel-static
125
%description devel-static
127
The %name-devel-static package should be installed on any machine
126
The %name-devel-static package should be installed on any machine
Lines 132-138 Link Here
132
ÐÒÉÌÏÖÅÎÉÊ ÎÁ ÏÓÎÏ×Å AMANDA.
131
ÐÒÉÌÏÖÅÎÉÊ ÎÁ ÏÓÎÏ×Å AMANDA.
133
132
134
%prep
133
%prep
135
%setup -q -n %name-%{version}p2
134
%setup -q -n %name-%{version}p4
136
%patch0 -p1 -b .bug18322
135
%patch0 -p1 -b .bug18322
137
#%patch2 -p1
136
#%patch2 -p1
138
%patch3 -p0
137
%patch3 -p0
Lines 146-151 Link Here
146
%build
145
%build
147
#automake; autoconf
146
#automake; autoconf
148
%configure \
147
%configure \
148
    %{subst_enable static} \
149
    --enable-shared \
149
    --enable-shared \
150
    --with-index-server=localhost \
150
    --with-index-server=localhost \
151
    --with-gnutar=%__tar \
151
    --with-gnutar=%__tar \
Lines 223-239 Link Here
223
done
223
done
224
%__chmod 0755 %buildroot%_sysconfdir/control.d/facilities/*
224
%__chmod 0755 %buildroot%_sysconfdir/control.d/facilities/*
225
225
226
# remove non-packaged files                                                     
226
# remove non-packaged files
227
%__rm -f %buildroot%_libdir/*.la                                                
227
%__rm -f %buildroot%_libdir/*.la
228
%if_without static                                                              
228
%if_without static
229
%__rm -f %buildroot%_libdir/*.a                                                 
229
%__rm -f %buildroot%_libdir/*.a
230
%endif                                                                          
230
%endif
231
232
%pre
233
[ $1 -eq 1 ] || /usr/sbin/control-dump dumper planner amcheck
234
235
%post
236
%post_ldconfig
237
[ $1 -eq 1 ] || /usr/sbin/control-restore dumper planner amcheck
238
239
%postun -p %postun_ldconfig
231
240
232
%pre common
241
%pre common
233
/usr/sbin/useradd -M -n -g disk -r -d %_localstatedir/amanda -s /dev/null \
242
/usr/sbin/useradd -M -n -g disk -r -d %_localstatedir/amanda -s /dev/null \
234
	-c "system user for %name" amanda >/dev/null 2>&1 || :
243
	-c "system user for %name" amanda >/dev/null 2>&1 || :
235
244
236
%post common -p /sbin/ldconfig
245
%post common -p %post_ldconfig
246
247
%postun common -p %postun_ldconfig
237
248
238
%pre client
249
%pre client
239
[ $1 -eq 1 ] || /usr/sbin/control-dump calcsize killpgrp rundump runtar
250
[ $1 -eq 1 ] || /usr/sbin/control-dump calcsize killpgrp rundump runtar
Lines 242-260 Link Here
242
%post_ldconfig
253
%post_ldconfig
243
[ $1 -eq 1 ] || /usr/sbin/control-restore calcsize killpgrp rundump runtar
254
[ $1 -eq 1 ] || /usr/sbin/control-restore calcsize killpgrp rundump runtar
244
255
245
%pre
246
[ $1 -eq 1 ] || /usr/sbin/control-dump dumper planner amcheck
247
248
%post
249
%post_ldconfig
250
[ $1 -eq 1 ] || /usr/sbin/control-restore dumper planner amcheck
251
252
%postun common -p %postun_ldconfig
253
254
%postun client -p %postun_ldconfig
256
%postun client -p %postun_ldconfig
255
257
256
%postun -p %postun_ldconfig
257
258
%files common
258
%files common
259
%_libdir/libamanda-*.so
259
%_libdir/libamanda-*.so
260
%_libdir/libamtape-*.so
260
%_libdir/libamtape-*.so
Lines 285-290 Link Here
285
%_libdir/amanda/driver
285
%_libdir/amanda/driver
286
%_libdir/amanda/taper
286
%_libdir/amanda/taper
287
%_libdir/amanda/amcleanupdisk
287
%_libdir/amanda/amcleanupdisk
288
%_libdir/amanda/chg-iomega
288
%_libdir/amanda/chg-scsi
289
%_libdir/amanda/chg-scsi
289
%_libdir/amanda/chg-manual
290
%_libdir/amanda/chg-manual
290
%_libdir/amanda/chg-multi
291
%_libdir/amanda/chg-multi
Lines 387-392 Link Here
387
%endif
388
%endif
388
389
389
%changelog
390
%changelog
391
* Thu Dec 23 2004 somebody 2.4.4-alt8
392
- something
393
- 2.4.4.p4
394
- specfile clean up
395
390
* Mon Aug 23 2004 Grigory Batalov <bga@altlinux.ru> 2.4.4-alt7
396
* Mon Aug 23 2004 Grigory Batalov <bga@altlinux.ru> 2.4.4-alt7
391
- amqde moved to client package
397
- amqde moved to client package
392
398

Return to bug 5773