You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.3 KiB

%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
%define _missing_doc_files_terminate_build 0
Summary: emotion
Version: @VERSION@
Release: 0.%(date '+%Y%m%d')
License: BSD
Group: System Environment/Libraries
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
#BuildSuggests: xorg-x11-devel XFree86-devel libX11-devel libxine1-devel xine-lib-devel
#BuildSuggests: gstreamer-devel gstreamer-plugins-devel gstreamer-plugins-base-devel gstreamer-ffmpeg
BuildRequires: efl-devel edje-devel edje-bin
BuildRequires: /usr/bin/xine-config
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Emotion is a Media Library
%package devel
Summary: Emotion headers, static libraries, documentation and test programs
Group: System Environment/Libraries
Requires: %{name} = %{version}
Requires: efl-devel edje-devel
%description devel
Headers, static libraries, test programs and documentation for Emotion
%setup -q
%{configure} --prefix=%{_prefix} --enable-static --enable-shared
%{__make} %{?_smp_mflags} %{?mflags}
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
# Remove useless static modules
%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*a
/sbin/ldconfig || :
/sbin/ldconfig || :
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root)
%dir %{_libdir}/%{name}
%files devel
%defattr(-, root, root)
%doc doc/html