Created
June 11, 2016 02:34
-
-
Save foobargem/f260b896fe030a382b7b18f43633a8a4 to your computer and use it in GitHub Desktop.
parted.spec for RPM packaging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global _enable_debug_package 0 | |
%global debug_package %{nil} | |
%define dist .el7.nhnent | |
%define _prefix /opt/parted | |
Name: parted | |
Version: 3.2 | |
Release: 1%{?dist} | |
Summary: The GNU disk partition manipulation program | |
License: GPLv3+ | |
URL: http://www.gnu.org/software/parted | |
Source0: parted-3.2.tar.xz | |
%description | |
The GNU Parted program allows you to create, destroy, resize, move, | |
and copy hard disk partitions. Parted can be used for creating space | |
for new operating systems, reorganizing disk usage, and copying data | |
to new hard disks. | |
%prep | |
%setup -q | |
%build | |
%configure | |
make %{?_smp_mflags} | |
%install | |
%make_install | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%{_prefix} | |
#%{_datadir}/* | |
#%{_includedir}/* | |
#%{_libdir}/* | |
#%{_sbindir}/* | |
%changelog | |
* Fri Jun 10 2016 makerpm | |
- build and packaging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment