summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libmm-utility.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/packaging/libmm-utility.spec b/packaging/libmm-utility.spec
index feb7f5a..28f18e7 100644
--- a/packaging/libmm-utility.spec
+++ b/packaging/libmm-utility.spec
@@ -1,9 +1,9 @@
Name: libmm-utility
Summary: Multimedia Framework Utility Library
-Version: 0.1
-Release: 40
+Version: 0.4
+Release: 42
Group: System/Libraries
-License: Apache-2.0
+License: Apache
Source0: %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -11,8 +11,6 @@ BuildRequires: pkgconfig(mm-common)
BuildRequires: pkgconfig(mm-log)
BuildRequires: pkgconfig(mm-ta)
BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(gstreamer-0.10)
-BuildRequires: pkgconfig(gstreamer-app-0.10)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: libjpeg-devel
@@ -31,13 +29,12 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q
+%build
./autogen.sh
CFLAGS="$CFLAGS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -D_MM_PROJECT_FLOATER" \
LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed" \
./configure --prefix=%{_prefix}
-
-%build
make %{?jobs:-j%jobs}
sed -i -e "s#@IMGP_REQPKG@#$IMGP_REQPKG#g" imgp/mmutil-imgp.pc
@@ -63,4 +60,3 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/pkgconfig/*
-