File premake4.spec of Package premake4

# norootforbuild

Name:           premake4
Summary:        Powerfully simple build configuration
Group:          Development/Tools/Building
Version:        4.3
Release:        0
License:        BSD-3
URL:            http://industriousone.com/premake
# file http://sourceforge.net/projects/premake/files/Premake/4.3/premake-4.3-src.zip/download
# removed src/host/lua-5.1.4
# repacked to tar.bz2
Source:         premake-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE premake-4.3.patch adam@mizerski.pl -- use shared lua; use RPM_OPT_FLAGS; don't strip;
Patch0:         premake-4.3.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:  pkg-config lua-devel
#Requires:       

%description
Premake is a build configuration tool. Describe your C, C++, or C# software project using a simple, easy to read syntax and let Premake generate the project files for:

    * Microsoft Visual Studio 2002, 2003, 2005, and 2008, including the Express editions
    * GNU Make, including Cygwin and MinGW
    * Apple Xcode
    * Code::Blocks
    * CodeLite
    * IC#Code SharpDevelop
    * MonoDevelop

%prep
%setup -q -n premake-%{version}
%patch0 -p1

%build
pushd build/gmake.unix
%__make verbose=1 %{?_smp_mflags}
popd

%install
%__install -D -m755 bin/release/premake4 %buildroot%{_bindir}/%{name}

%clean
%__rm -rf %buildroot

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%doc CHANGES.txt LICENSE.txt README.txt

%changelog
openSUSE Build Service is sponsored by