Last active
July 11, 2016 00:28
-
-
Save edsoncelio/517137e561ca71a0fd732044ef609641 to your computer and use it in GitHub Desktop.
specfile hello world!
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
Summary: GNU Hello | |
Name : hello | |
Version: 2.1.1 | |
Release: 1 | |
Source: https://ftp.gnu.org/gnu/hello/hello-2.1.1.tar.gz | |
URL: https://www.gnu.org/software/hello/hello.hmtl | |
License: GPL | |
Group: System Environment/Libraries | |
%description | |
This project is an example that demonstrate GNU coding standards | |
%prep | |
%setup | |
%build | |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} | |
make | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make DESTDIR=$RPM_BUILD_ROOT install | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root) | |
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO | |
%{_prefix}/bin/hello | |
%{_prefix}/info/* | |
%{_prefix}/lib/* | |
%{_prefix}/man/man1/* | |
%{_prefix}/share/locale/* | |
%{_prefix}/share/locale/* | |
%changelog | |
*Sun Jul 10 2016 Creator <name@domain> | |
- First draft of the spec file | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment