]> git.pld-linux.org Git - packages/star.git/blob - star.spec
c94c3dcef77ab6bd2fd517c1284bf2b858d18e16
[packages/star.git] / star.spec
1 Summary:        A very fast, POSIX compliant tape archiver
2 Summary(pl):    Szybki, zgodny z POSIX program do archiwizacji
3 Name:           star
4 Version:        1.5
5 %define bver    a43
6 Release:        0.%{bver}.1
7 License:        GPL
8 Group:          Applications/File
9 Source0:        ftp://ftp.berlios.de/pub/star/alpha/%{name}-%{version}%{bver}.tar.bz2
10 # Source0-md5:  11eff87db72d663caf65db1da080fca7
11 # based on http://www.nsa.gov/selinux/patches/star-selinux.patch.gz
12 Patch0:         %{name}-selinux.patch
13 Patch1:         %{name}-no-kernel-headers.patch
14 Patch2:         %{name}-strtod.patch
15 Patch3:         %{name}-unamep.patch
16 URL:            http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html
17 BuildRequires:  acl-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libselinux-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Star is a very fast, POSIX-compliant tar archiver. It reads and writes
25 POSIX compliant tar archives as well as non-POSIX GNU tar archives.
26 Star is the first free POSIX.1-200x compliant tar implementation. It
27 saves many files together into a single tape or disk archive, and can
28 restore individual files from the archive.
29
30 It includes a FIFO for speed, a pattern matcher, multivolume support,
31 the ability to archive sparse files, automatic archive format
32 detection, automatic byte order recognition, automatic archive
33 compression / decompression, remote archives, and special features
34 that allow star to be used for full backups. This package contains the
35 getfacl and setfacl utilities needed for manipulating access control
36 lists.
37
38 It includes the only known platform independant "rmt" server program
39 that hides Linux incompatibilities. The "rmt" server from the star
40 package implements all Sun/GNU/Schily/BSD enhancements and allows any
41 "rmt" client from any OS to contact any OS as server.
42
43 %description -l pl
44 Star jest szybkim, zgodnym z POSIX archiwizerem tar. Potrafi czytaæ i
45 zapisywaæ archiwa tar zgodne z POSIX, a tak¿e nie-posiksowe archiwa
46 GNU. Star jest pierwsz± wolnodostêpn± implementacj± tara zgodn± z
47 norm± POSIX.1-200x. Zapisuje ³±cznie wiele plików na jednej ta¶mie lub
48 dysku i mo¿e odtwarzaæ z archiwum pojedyncze pliki.
49
50 Ma kolejkê FIFO (dla przyspieszenia operacji), dopasowywanie wzorców,
51 obs³ugê archiwów wieloczê¶ciowych, mo¿liwo¶æ archiwizacji plików
52 rzadkich, automatyczne wykrywanie formatu archiwów i kolejno¶ci bajtów
53 w s³owie, automatyczn± kompresjê i dekompresjê, obs³ugê zdalnych
54 archiwów oraz dodatkowe mo¿liwo¶ci umo¿liwiaj±ce wykonywanie pe³nych
55 kopii zapasowych. Ten pakiet zawiera narzêdzia getfacl i setfacl
56 potrzebne do modyfikacji list kontroli dostêpu (ACL).
57
58 Pakiet zawiera te¿ niezale¿ny od platformy serwer rmt, który ma
59 zaimplementowane wszystkie rozszerzenia Sun/GNU/Schily/BSD i pozwala
60 na dostêp klientem rmt z dowolnego systemu operacyjnego.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66 %patch2 -p1
67 %patch3 -p1
68
69 # new ac doesn't like comments in the same line as #undef
70 %{__perl} -pi -e 's@/\*.*\*/@@g' conf/xconfig.h.in
71
72 ln -sf i586-linux-gcc.rul RULES/x86_64-linux-gcc.rul
73 ln -sf i586-linux-cc.rul RULES/x86_64-linux-cc.rul
74
75 %build
76 cd conf
77 cp -f /usr/share/automake/config.* .
78 %{__autoconf}
79 cd ..
80 %{__make} \
81         COPTOPT="%{rpmcflags}" \
82         CC="%{__cc}" \
83         LDCC="%{__cc}"
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         INS_BASE=$RPM_BUILD_ROOT%{_prefix} \
90         MANDIR=/share/man
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %doc README.linux Changelog TODO
98 %attr(755,root,root) %{_bindir}/gnutar
99 %attr(755,root,root) %{_bindir}/scpio
100 %attr(755,root,root) %{_bindir}/spax
101 %attr(755,root,root) %{_bindir}/star
102 %attr(755,root,root) %{_bindir}/suntar
103 %attr(755,root,root) %{_bindir}/ustar
104 %attr(755,root,root) %{_bindir}/smt
105 %attr(755,root,root) %{_sbindir}/rmt
106 %{_mandir}/man1/star.1*
107 %{_mandir}/man1/rmt.1*
108 %{_mandir}/man5/star.5*
This page took 0.023554 seconds and 2 git commands to generate.