Compare commits

...

13 Commits
el6 ... master

Author SHA1 Message Date
Fedora Release Engineering
eec43861ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:16:46 +00:00
Fedora Release Engineering
b033f1d2a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 04:47:01 +00:00
Igor Gnatenko
10313383f1 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:38 +01:00
Igor Gnatenko
17aba6d21c
Add missing BuildRequires on gcc
/bin/sh: cc: command not found

References: https://bugzilla.redhat.com/show_bug.cgi?id=1605499
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 16:18:16 +02:00
Fedora Release Engineering
d143ced466 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 22:50:23 +00:00
Fedora Release Engineering
2f7d4c55e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:44:44 +00:00
Fedora Release Engineering
daee95a95c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:21:15 +00:00
Fedora Release Engineering
fc048269cd - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:01:39 +00:00
Fedora Release Engineering
3edde268ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:49:57 +00:00
Fedora Release Engineering
3860203dfd - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:26:59 +00:00
Ralf Corsépius
4d55f75bfd Use '|' instead of '/' as pattern delimiter in sed expression to filter
CFLAGS (Fix FTBFS).
- Modernize spec.
- Add %license.
2015-06-20 14:43:48 +02:00
Dennis Gilmore
c03d6beda4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 17:48:01 +00:00
Peter Robinson
6957df336e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 19:51:27 +00:00

View File

@ -1,9 +1,8 @@
Name: premake
Version: 4.3
Release: 9%{?dist}
Release: 20%{?dist}
Summary: Cross-platform build configuration tool
Group: Development/Tools
License: BSD
URL: http://industriousone.com/premake
Source0: http://downloads.sourceforge.net/%{name}/premake-%{version}-src.zip
@ -11,7 +10,7 @@ Source0: http://downloads.sourceforge.net/%{name}/premake-%{version}-src.
Patch0: premake-4.3-system-lua.patch
# Add the missing manpage
Patch1: premake-4.3-manpage.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc
BuildRequires: compat-lua-devel readline-devel
%description
@ -29,9 +28,9 @@ Premake is a build configuration tool that can generate project files for:
%patch0 -p0
%patch1 -p0
# Inject optflags into CFLAGS
sed -i "s/^\s*CFLAGS\s*+=.*/CFLAGS += \$(CPPFLAGS) %{optflags}/" build/gmake.unix/Premake4.make
sed -i "s|^\s*CFLAGS\s*+=.*|CFLAGS += \$(CPPFLAGS) %{optflags}|" build/gmake.unix/Premake4.make
# Disable stripping the executable
sed -i "s/^\s*LDFLAGS\s*+= -s/LDFLAGS +=/" build/gmake.unix/Premake4.make
sed -i "s|^\s*LDFLAGS\s*+= -s|LDFLAGS +=|" build/gmake.unix/Premake4.make
# Use the release build for running tests
sed -i "s/debug/release/" tests/test
@ -40,22 +39,54 @@ cd build/gmake.unix/
make verbose=true %{?_smp_mflags}
%install
rm -rf %{buildroot}
install -m 755 -Dp ./bin/release/premake4 %{buildroot}/%{_bindir}/premake4
install -m 644 -Dp ./premake4.1 %{buildroot}/%{_mandir}/man1/premake4.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/premake4
%{_mandir}/man1/premake4.1*
%doc LICENSE.txt README.txt CHANGES.txt
%doc README.txt CHANGES.txt
%license LICENSE.txt
%changelog
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Jun 20 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 4.3-12
- Use '|' instead of '/' as pattern delimiter in sed expression to filter
CFLAGS (Fix FTBFS).
- Modernize spec.
- Add %%license.
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jun 26 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 4.3-9
- Fix FTBFS with lua-5.2 (#1106672)