info:dump.spec -devel
Wojtek Slusarczyk
wojtek w SHADOW.EU.ORG
Nie, 13 Wrz 1998, 20:03:57 CEST
Hej,
Przebudowalem pakiet pod glibcem-2.1 -> przy czym prosilbym autora
aby zacerowal zrola... link do binarki w /etc jest raczej nie do
przyjecia. Poza tym zauwazylem ze podczas kompilacji probowal zalaczac
plkiki naglowkowe z /usr/include/bsd ... -> wprawdzie to nie
przeszkadza ale tego to chyba juz dawno nie ma... aha, prosilbym tez aby
niepotrzebnie nie podbijac numeru wersji pakietu ...
Summary: dump/restore backup system
Summary(de): Dump/Restore-Backup-System
Summary(fr): systčme de sauvegarde dump/restore
Summary(pl): System kopi bezpieczeństwa dump/restore
Summary(tr): dump/restore yedekleme sistemi
Name: dump
Version: 0.3
Release: 14d
Copyright: UCB
Group: Utilities/System
Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/%{name}-%{version}.tar.gz
Patch: dump-0.3-config.patch
Patch1: dump-0.3-types.patch
Patch2: dump-0.3-glibc.patch
Patch3: dump-0.3-sparc.patch
Patch4: dump-0.3-kernel.patch
Requires: rmt
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
%description
dump and restore can be used to backup extended 2 (ext2) partitions in
a variety of ways.
%package -n rmt
Summary: Remote (network) tape device access
Summary(de): Entfernter Zugriff (Netzwerk) auf Magnetbandgeräte
Summary(fr): Accčs distant (réseau) ŕ un périphérique bande
Summary(pl): Zdalny dostęp do napędów taśm magnetycznych
Summary(tr): Uzak teyp sürücülerine eriţim aracý
Group: Utilities/System
%description -n rmt
rmt provides remote access to tape devices for programs like dump,
restore, and tar.
%description -l de -n rmt
rmt stellt Remote-Access zu Bandgeräten für Programme wie Dump, Restore
und tar bereit.
%description -l de
Sie können mit dump und restore verschiedene Verfahren zum Sichern
von extended 2 (ext2)-Partitionen ausführen.
%description -l fr -n rmt
rmt offre un accčs distant aux périphériques bandes pour des programmes comme
dump, restore et tar.
%description -l fr
dupm et restore servent ŕ sauvegarder des partitions ext2 de plusieurs
façons possibles
%description -l pl
Programy dump i restore służą do tworzenia i odtwarzanie kopii
bezpieczeństwa partycji z systemem plków ext2.
%description -l pl -n rmt
Program rmt umożliwia zdalny dostęp do napędów taśm magnetycznych
dla programów takich jak dump, restore czy tar
%description -l tr -n rmt
rmt programý, dump, restore ve tar gibi programlar için teyp aygýtlarýna
uzaktan eriţim sađlar.
%description -l tr
dump, ext2 bölümlerini birkaç deđiţik ţekilde yedeklemek için kullanýlýr.
restore ise dump ile alýnan yedekleri geri yükleyen programdýr.
%prep
%setup -q
%patch0 -p1 -b .config
%patch1 -p1 -b .types
%patch2 -p1 -b .glibc
#%patch3 -p1 -b .sparc
%patch4 -p1 -b .kernel
%build
make OPT="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/man/man8
install -d $RPM_BUILD_ROOT/sbin
install -d $RPM_BUILD_ROOT/etc
ID=`id -u`
GID=`id -g`
make BINDIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT/usr/man/man8 \
BINOWN=$ID BINGRP=$GID MANOWN=$ID MANGRP=$GID install
> $RPM_BUILD_ROOT/etc/dumpdates
###( cd $RPM_BUILD_ROOT/sbin
### strip dump restore rmt
###)
#### There is a bug in strip which clears the sgid bit!
#### It's not a bug, it's a feature. Modifying an inode clears the
#### set*id bits as a security feature.
###chmod 6755 /sbin/dump /sbin/restore
ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
ln -sf dump $RPM_BUILD_ROOT/sbin/rdump
ln -sf restore $RPM_BUILD_ROOT/sbin/rrestore
ln -sf dump.8 $RPM_BUILD_ROOT/usr/man/man8/rdump.8
ln -sf restore.8 $RPM_BUILD_ROOT/usr/man/man8/rrestore.8
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root,0755)
%doc COPYRIGHT KNOWNBUGS THANKS CHANGES dump-0.3.announce
%attr(0660,root,disk) %config(noreplace) %verify(not size mtime md5) /etc/dumpdates
%attr(6750,root,root) /sbin/dump
%attr(0700,root,root) /sbin/rdump
%attr(6750,root,root) /sbin/restore
%attr(0700,root,root) /sbin/rrestore
%attr(0644, root, man) /usr/man/man8/dump.8
%attr(0644, root, man) /usr/man/man8/rdump.8
%attr(0644, root, man) /usr/man/man8/restore.8
%attr(0644, root, man) /usr/man/man8/rrestore.8
%files -n rmt
%defattr(0644,root,root,0755)
%attr(0711,root,root) /sbin/rmt
%attr(0711,root,root) /etc/rmt
%attr(0644, root, man) /usr/man/man8/rmt.8
%changelog
* Sun Sep 13 1998 Konrad Stępień <konrad w interdata.com.pl>
[0.3-14d]
- build against glibc-2.1,
- fixed files permissions,
- minor modifications of spec file.
* Sat Sep 12 1998 Konrad Stępień <konrad w interdata.com.pl>
- added ability to build from non-root
- added %attr macros
- pl translation
* Tue Jul 14 1998 Jeff Johnson <jbj w redhat.com>
- add build root.
* Tue May 05 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr
* Thu Apr 30 1998 Cristian Gafton <gafton w redhat.com>
- added a patch for resolving linux/types.h and sys/types.h conflicts
* Wed Dec 31 1997 Erik Troan <ewt w redhat.com>
- added prototype of llseek() so dump would work on large partitions
* Thu Oct 30 1997 Donnie Barnes <djb w redhat.com>
- made all symlinks relative instead of absolute
* Thu Jul 10 1997 Erik Troan <ewt w redhat.com>
- built against glibc
* Thu Mar 06 1997 Michael K. Johnson <johnsonm w redhat.com>
- Moved rmt to its own package.
* Tue Feb 11 1997 Michael Fulbright <msf w redhat.com>
- Added endian cleanups for SPARC
* Fri Feb 07 1997 Michael K. Johnson <johnsonm w redhat.com>
- Made /etc/dumpdates writeable by group disk.
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
Więcej informacji o liście dyskusyjnej pld-devel-pl