parent
f4507fb8a2
commit
505e408ea1
|
@ -4,7 +4,7 @@
|
||||||
Summary: emotion
|
Summary: emotion
|
||||||
Name: @PACKAGE@
|
Name: @PACKAGE@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 0.%(date '+%Y%m%d')
|
Release: %{_rel}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.enlightenment.org/
|
URL: http://www.enlightenment.org/
|
||||||
|
@ -14,13 +14,14 @@ Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project
|
||||||
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
||||||
#BuildSuggests: xorg-x11-devel XFree86-devel libX11-devel libxine1-devel xine-lib-devel
|
#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
|
#BuildSuggests: gstreamer-devel gstreamer-plugins-devel gstreamer-plugins-base-devel gstreamer-ffmpeg
|
||||||
BuildRequires: efl-devel edje-devel edje-bin
|
BuildRequires: eina-devel, evas-devel, ecore-devel, edje-devel, edje-bin
|
||||||
BuildRequires: /usr/bin/xine-config
|
BuildRequires: /usr/bin/xine-config gstreamer-plugins-base-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Emotion is a Media Library
|
Emotion is a Media Library
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Emotion headers, static libraries, documentation and test programs
|
Summary: Emotion headers, static libraries, documentation and test programs
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
@ -30,13 +31,16 @@ Requires: efl-devel edje-devel
|
||||||
%description devel
|
%description devel
|
||||||
Headers, static libraries, test programs and documentation for Emotion
|
Headers, static libraries, test programs and documentation for Emotion
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{configure} --prefix=%{_prefix} --enable-static --enable-shared
|
%{configure} --prefix=%{_prefix} --enable-static --enable-shared
|
||||||
%{__make} %{?_smp_mflags} %{?mflags}
|
%{__make} %{?_smp_mflags} %{?mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
||||||
test -x `which doxygen` && sh gendoc || :
|
test -x `which doxygen` && sh gendoc || :
|
||||||
|
@ -44,15 +48,19 @@ test -x `which doxygen` && sh gendoc || :
|
||||||
# Remove useless static modules
|
# Remove useless static modules
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*a
|
%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*a
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig || :
|
/sbin/ldconfig || :
|
||||||
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig || :
|
/sbin/ldconfig || :
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING* README
|
%doc AUTHORS COPYING* README
|
||||||
|
@ -76,4 +84,5 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
||||||
#%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
|
#%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
Loading…
Reference in New Issue