From 2f1b5888b81a9f4ced4bf4337fc9054da882af5d Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Wed, 26 Dec 2012 11:27:43 +0000 Subject: [PATCH] Spec and build dependency fixes. SVN revision: 81710 --- legacy/ethumb/ethumb.spec.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/legacy/ethumb/ethumb.spec.in b/legacy/ethumb/ethumb.spec.in index 40228665ff..e33be49680 100644 --- a/legacy/ethumb/ethumb.spec.in +++ b/legacy/ethumb/ethumb.spec.in @@ -7,16 +7,19 @@ Version: @VERSION@ Release: %{_rel} License: LGPLv2.1 Group: System Environment/Libraries +URL: http://www.enlightenment.org/ Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel Silva Seabra } Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -URL: http://www.enlightenment.org/ +BuildRequires: eina-devel, eet-devel, evas-devel, ecore-devel, edje-devel, edje-bin, emotion-devel +BuildRequires: libexif-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Ethumb is a thumbnail generation library + %package devel Summary: Ethumb headers, static libraries, documentation and test programs Group: System Environment/Libraries @@ -25,25 +28,32 @@ Requires: %{name} = %{version} %description devel Headers, static libraries, test programs and documentation for Ethumb + %prep %setup -q + %build %{configure} --prefix=%{_prefix} %{__make} %{?_smp_mflags} %{?mflags} + %install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install + %clean test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT + %post /sbin/ldconfig + %postun /sbin/ldconfig + %files %defattr(-, root, root) %doc AUTHORS COPYING README @@ -66,4 +76,5 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %{_libdir}/ethumb/plugins/data/emotion_template.edj %{_libexecdir}/ethumbd_slave + %changelog