Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aspiers
unpack
unpack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unpack.spec of Package unpack
Name: unpack Version: 0.1.0 Release: 0 Summary: Utility for unpacking any kind of archive License: GPL-3.0 URL: https://github.com/aspiers/shell-env.git Group: Productivity/File utilities Source0: https://raw.githubusercontent.com/aspiers/shell-env/master/bin/unpack BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description unpack is a utility which will unpack any kind of archive file. It ensures that the contents are always unpacked within a new top-level directory rather than polluting the current directory, and when called non-interactively, returns the name of the new unpacked directory so that other scripts can build automation on top of it. N.B. this utility duplicates the functionality of another utility called dtrx (or maybe the other way around - it was created a long time ago, but I never got round to publishing it), so ideally their functionality should be merged into a best of breed solution. dtrx does more, so I should probably drop this one and ensure that dtrx does everything unpack does. %prep %build %install rm -rf $RPM_BUILD_ROOT %{__install} -D -m 755 $RPM_SOURCE_DIR/unpack %{buildroot}%{_bindir}/unpack %files %defattr(-,root,root) %{_bindir}/unpack %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