Spec and build dependency fixes.

SVN revision: 81711
This commit is contained in:
Michael Jennings 2012-12-26 11:53:38 +00:00
parent d063cc067e
commit 640021a53f
1 changed files with 18 additions and 19 deletions

View File

@ -1,6 +1,5 @@
%define _missing_doc_files_terminate_build 0
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
%global _missing_doc_files_terminate_build 0
Summary: EFL toolkit for small touchscreens
@ -15,7 +14,6 @@ Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
#BuildSuggests: xorg-x11-devel, vim-enhanced
BuildRequires: efl-devel
Requires: efl
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -29,6 +27,7 @@ fine-grained library splitting means all of this is shared, just a new
widget "personality" is on top. And that is... Elementary, my dear watson.
%package devel
Summary: Elementary headers, static libraries, documentation and test programs
Group: System Environment/Libraries
@ -38,66 +37,66 @@ Requires: efl-devel
%description devel
Headers, static libraries, test programs and documentation for Elementary
%package bin
Summary: Elementary file compiler/decompiler suite
Group: System Environment/Libraries
Requires: %{name} = %{version}
Requires: elementary
%description bin
Elmementary programs
%setup -q
%{configure} --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags}
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
%{find_lang} %{name}
/sbin/ldconfig || :
/sbin/ldconfig || :
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%files devel
%defattr(-, root, root)
%doc doc/html
%files bin
%defattr(-, root, root)