Skip to content

Instantly share code, notes, and snippets.

@blitz
Created July 15, 2014 22:14
Show Gist options
  • Save blitz/b8f9f07c19bebc327cdd to your computer and use it in GitHub Desktop.
Save blitz/b8f9f07c19bebc327cdd to your computer and use it in GitHub Desktop.
makepp RPM spec file for Fedora 20
Name: makepp
Version: 2.0.98.5
Release: 1%{?dist}
Summary: Compatible but reliable and improved replacement for make
License: GPLv2+ or Artistic
URL: http://makepp.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
BuildArch: noarch
# Correct for lots of packages, other common choices include eg. Module::Build
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%global __requires_exclude perl\\(Mpp
%description
Makepp, a build program which has a number of features that allow for
reliable builds and simpler build files, is a drop-in replacement for
GNU make. It supports almost all of the syntax that GNU make supports,
and can be used with makefiles produced by utilities such as
automake. It is called makepp (or make++) because it was designed with
special support for C++, which has since been extended to other
languages like Swig or embedded SQL.
%prep
%setup -q
%build
env PERL=%{__perl} %{__perl} config.pl -b %{_bindir} \
-d %{_datadir}/makepp \
-h %{_defaultdocdir}/makepp \
-m %{_mandir} \
-p /usr
%install
%make_install
%files
%doc
%{_bindir}/*
%{_mandir}/*
%{_datadir}/makepp/*
%{_defaultdocdir}/makepp/*
%changelog
* Tue Jul 15 2014 Julian Stecklina
- Created makepp spec file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment