Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
cpio.221
cpio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpio.spec of Package cpio.221
# # spec file for package cpio # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: cpio Url: http://www.gnu.org/software/cpio/cpio.html BuildRequires: autoconf BuildRequires: automake Version: 2.11 Release: 0 Summary: A Backup and Archiving Utility License: GPL-3.0 Group: Productivity/Archiving/Compression Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Patch2: cpio-use_new_ascii_format.patch #oouch what a ...?! pieces of code grabed from mt_st package to add missing functionality (e.g. density info) Patch3: cpio-mt.patch Patch4: cpio-use_sbin_rmt.patch Patch5: cpio-open_nonblock.patch #patch dir_perm reverts some things which were added by patch #7 chmodRaceC Patch14: cpio-dir_perm.patch Patch15: cpio-eof_tape_handling.patch # make posibble to have device nodes with major number > 127 # Red Hat Bugzilla #450109 Patch17: cpio-dev_number.patch Patch18: cpio-default_tape_dev.patch #PATCH-FIX-UPSTREAM cpio-2.10-close_files_after_copy.patch Patch20: cpio-close_files_after_copy.patch Patch21: cpio-pattern-file-sigsegv.patch Patch22: cpio-stdio.in.patch Patch23: paxutils-rtapelib_mtget.patch Patch24: cpio-check_for_symlinks.patch Patch25: cpio-fix_truncation_check.patch Patch26: 0001-Fix-memory-overrun-on-reading-improperly-created-lin.patch PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang = %{version} %description GNU cpio is a program to manage archives of files. This package also includes 'mt', a tape drive control program. Cpio copies files into or out of a cpio or tar archive. An archive is a file that contains other files plus information about them, such as their pathname, owner, time stamps, and access permissions. The archive can be another file on the disk, a magnetic tape, or a pipe. This package normally includes the program 'rmt', which provides remote tape drive control. Because there is a compatible 'rmt' in the 'dump' package, 'rmt' is not included in this package. If you are planning to use the remote tape features provided by cpio, install the 'dump' package as well. Authors: -------- David J. MacKenzie <djm@gnu.org> Jim Meyering <meyering@na-net.ornl.gov> %lang_package %prep %setup %patch2 %patch3 %patch4 %patch5 %patch14 -p1 %patch15 %patch17 %patch18 %patch20 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 #chmod 755 . #chmod u+w * #chmod a+r * %build gettextize -f autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \ ./configure \ --with-rmt="%{_sysconfdir}/rmt" \ --enable-mt \ --prefix=/usr \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --libdir=%{_libdir} \ --disable-silent-rules make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT/{usr/bin,bin} make prefix=$RPM_BUILD_ROOT/usr infodir=$RPM_BUILD_ROOT/%_infodir mandir=$RPM_BUILD_ROOT/%_mandir install #UsrMerge ln -sf %_bindir/cpio $RPM_BUILD_ROOT/bin #EndUsrMerge %find_lang %{name} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) #UsrMerge /bin/cpio #EndUsrMerge %_bindir/cpio %_bindir/mt %doc %{_infodir}/cpio.info.gz %doc %{_mandir}/man1/cpio.1.gz %doc %{_mandir}/man1/mt.1.gz #/usr/share/locale/*/LC_MESSAGES/cpio.mo %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor