1 Summary: Cross-platform build configuration tool
2 Summary(pl.UTF-8): Międzyplatformowe narzędzie do budowy projektów
7 Group: Development/Tools
8 Source0: http://http.debian.net/debian/pool/main/p/premake/premake_%{version}.orig.tar.gz
9 # Source0-md5: a328ea385f2bbf65007df36c74cb4f8c
10 Patch0: %{name}-system-lua.patch
11 Patch1: %{name}-flags.patch
12 URL: http://industriousone.com/premake/
13 BuildRequires: lua51-devel
14 BuildRequires: pkgconfig
15 BuildRequires: readline-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Premake is a build configuration tool that can generate project files
28 - Microsoft Visual Studio
30 %description -l pl.UTF-8
31 Premake jest narzędziem do budowy projektów, które potrafi wygenerować
39 - Microsoft Visual Studio
42 %setup -q -n premake-%{version}.orig
46 sed -i -e's/@\$(CC/$(CC/g;s/@\$(BLD/$(BLD/' Src/Makefile
50 OPTFLAGS="%{rpmcflags}" \
51 LDFLAGS="%{rpmldflags}" \
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_bindir}
60 cp -a bin/premake $RPM_BUILD_ROOT%{_bindir}
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc CHANGES.txt README.txt
68 %attr(755,root,root) %{_bindir}/premake