summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.ac2
-rw-r--r--packaging/libmm-player.spec16
2 files changed, 5 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 4070017..06898cf 100755
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,9 @@ AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
# Checks for programs.
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_PROG_CC
+
AC_PROG_LIBTOOL
AC_FUNC_MMAP
diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec
index 3a2042b..fecdb05 100644
--- a/packaging/libmm-player.spec
+++ b/packaging/libmm-player.spec
@@ -1,14 +1,11 @@
-
Name: libmm-player
Summary: Multimedia Framework Player Library
Version: 0.2.12
Release: 0
Group: System/Libraries
-License: Apache License, Version 2.0
+License: Apache-2.0
URL: http://source.tizen.org
Source0: %{name}-%{version}.tar.gz
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(mm-ta)
BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(mm-sound)
@@ -23,9 +20,8 @@ BuildRequires: pkgconfig(iniparser)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(icu-i18n)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
%description
+Multimedia Framework Player Library.
%package devel
Summary: Multimedia Framework Player Library (DEV)
@@ -33,6 +29,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
+Multimedia Framework Player Library (DEV).
%prep
%setup -q
@@ -46,18 +43,11 @@ LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; exp
CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --prefix=%{_prefix} --disable-static
-# Call make instruction with smp support
make -j1
%install
-rm -rf %{buildroot}
%make_install
-%clean
-rm -rf %{buildroot}
-
-
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig