Группа :: Архивирование/Сжатие
Пакет: dar
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: dar
Version: 2.2.1
Release: alt0.M24.2
Summary: DAR - Disk ARchive tool
License: LGPL
Group: Archiving/Compression
Url: http://dar.linux.free.fr/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source0: %name-%version.tar.bz2
Requires: lib%name = %version-%release
Requires: par2cmdline
BuildPreReq: bzlib-devel doxygen gcc-c++ glibc-devel hostinfo libattr-devel
BuildPreReq: libe2fs-devel libssl-devel libstdc++-devel zlib-devel
%description
dar is a shell command, that makes backup of a directory tree and files.
It has been tested under Linux, Windows (95, 2000, NT, XP), Solaris 8,
FreeBSD and NetBSD, it has been reported as working under Mac OS X 10.3.
%package -n lib%name
Summary: Library for %name
Group: Development/C
%description -n lib%name
This package contain library for %name.
%package -n lib%name-devel
Summary: Devel files for lib%name
Group: Development/C
Requires: lib%name = %version-%release
Requires: libssl-devel
%description -n lib%name-devel
This package contain header files for %name.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install-strip
%__mkdir_p %buildroot%_docdir/%name-%version
%__cp doc/samples/darrc_sample %buildroot%_docdir/%name-%version
%__cp doc/samples/*.txt %buildroot%_docdir/%name-%version
%__cp doc/COMMAND* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/F* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/G* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/L* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/N* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/R* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/T* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/*.html %buildroot%_docdir/%name-%version
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%_bindir/*
%_datadir/%name
%_datadir/locale/*/*/*.mo
%_man1dir/*
%_docdir/%name-%version
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
#%files -n lib%name-devel-static
#%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.2.1
Release: alt0.M24.2
Summary: DAR - Disk ARchive tool
License: LGPL
Group: Archiving/Compression
Url: http://dar.linux.free.fr/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source0: %name-%version.tar.bz2
Requires: lib%name = %version-%release
Requires: par2cmdline
BuildPreReq: bzlib-devel doxygen gcc-c++ glibc-devel hostinfo libattr-devel
BuildPreReq: libe2fs-devel libssl-devel libstdc++-devel zlib-devel
%description
dar is a shell command, that makes backup of a directory tree and files.
It has been tested under Linux, Windows (95, 2000, NT, XP), Solaris 8,
FreeBSD and NetBSD, it has been reported as working under Mac OS X 10.3.
%package -n lib%name
Summary: Library for %name
Group: Development/C
%description -n lib%name
This package contain library for %name.
%package -n lib%name-devel
Summary: Devel files for lib%name
Group: Development/C
Requires: lib%name = %version-%release
Requires: libssl-devel
%description -n lib%name-devel
This package contain header files for %name.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install-strip
%__mkdir_p %buildroot%_docdir/%name-%version
%__cp doc/samples/darrc_sample %buildroot%_docdir/%name-%version
%__cp doc/samples/*.txt %buildroot%_docdir/%name-%version
%__cp doc/COMMAND* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/F* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/G* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/L* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/N* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/R* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/T* %buildroot%_docdir/%name-%version
%__mv %buildroot%_datadir/%name/*.html %buildroot%_docdir/%name-%version
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files
%_bindir/*
%_datadir/%name
%_datadir/locale/*/*/*.mo
%_man1dir/*
%_docdir/%name-%version
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
#%files -n lib%name-devel-static
#%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь