Spec file cleanups.

SVN revision: 50519
This commit is contained in:
Kim Woelders 2010-07-26 20:21:58 +00:00
parent 355ed88a88
commit 4b8c039cb7
1 changed files with 4 additions and 10 deletions

View File

@ -19,21 +19,18 @@ e16-keyedit provides a graphical interface for managing keybindings in
Enlightenment e16.
%prep
%setup -n %{name}-%{version}
%setup -q
%build
CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cflags:$RPM_OPT_FLAGS}"
export CFLAGS CXXFLAGS
%configure %{?acflags} --prefix=%{_prefix}
%configure %{?acflags}
%{__make} %{?_smp_mflags} %{?mflags}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
%clean
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
@ -41,6 +38,3 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{_bindir}/*
%changelog
* Tue Jul 20 2004 Mezzanine <mezzanine@kainx.org>
- Specfile auto-generated by Mezzanine