From 92b52bdbfeeb1613903d6f3cdcb1d4229ad9ee16 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Fri, 4 Jan 2013 21:36:40 +0900 Subject: [PATCH 1/1] Revise the spec file Change-Id: Ie2afc73eae1dad15388e416fb528e5c0ea860305 --- live.viewer/packaging/live.viewer.spec | 2 +- packaging/liblivebox-viewer.spec | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/live.viewer/packaging/live.viewer.spec b/live.viewer/packaging/live.viewer.spec index f817c32..63397dd 100644 --- a/live.viewer/packaging/live.viewer.spec +++ b/live.viewer/packaging/live.viewer.spec @@ -5,7 +5,7 @@ Release: 1 Group: main/app License: Flora License Source0: %{name}-%{version}.tar.gz -BuildRequires: cmake, gettext-tools +BuildRequires: cmake, gettext-tools, coreutils BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(ail) diff --git a/packaging/liblivebox-viewer.spec b/packaging/liblivebox-viewer.spec index eb8a6ee..82c93d6 100644 --- a/packaging/liblivebox-viewer.spec +++ b/packaging/liblivebox-viewer.spec @@ -1,11 +1,11 @@ Name: liblivebox-viewer Summary: Library for the development of a livebox viewer -Version: 0.8.9 +Version: 0.8.10 Release: 1 Group: main/app License: Flora License Source0: %{name}-%{version}.tar.gz -BuildRequires: cmake, gettext-tools +BuildRequires: cmake, gettext-tools, coreutils BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(glib-2.0) @@ -38,18 +38,20 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/usr/share/license +mkdir -p %{buildroot}/%{_datarootdir}/license %post %files -n liblivebox-viewer %manifest liblivebox-viewer.manifest %defattr(-,root,root,-) -/usr/lib/*.so* -/usr/share/license/* +%{_libdir}/*.so* +%{_datarootdir}/license/* %files devel %defattr(-,root,root,-) -/usr/include/livebox-viewer/livebox.h -/usr/share/doc/livebox-viewer/livebox-viewer_PG.h -/usr/lib/pkgconfig/*.pc +%{_includedir}/livebox-viewer/livebox.h +%{_datarootdir}/doc/livebox-viewer/livebox-viewer_PG.h +%{_libdir}/pkgconfig/*.pc + +# End of a file -- 2.7.4