aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrisztian Litkey <krisztian.litkey@nokia.com>2010-07-02 20:35:29 +0300
committerKrisztian Litkey <krisztian.litkey@nokia.com>2010-07-02 20:35:29 +0300
commitf19fa60e42dd959e55822bc60c5161958a3fae62 (patch)
tree5a9579ea9d0affe89970dc919536ad8a715fee7d
parentf9c69a1a78bf2e501b7f90d7277bea910b3336f3 (diff)
Updated the changes from Markus Lehtonen to the spec template.
-rw-r--r--meego/libresource.spec.in52
1 files changed, 26 insertions, 26 deletions
diff --git a/meego/libresource.spec.in b/meego/libresource.spec.in
index bceac92..7f7922c 100644
--- a/meego/libresource.spec.in
+++ b/meego/libresource.spec.in
@@ -1,67 +1,67 @@
-%define _enable_debug_packages 0
-%define _unpackaged_files_terminate_build 0
-
-Summary: Libplayback replacement library.
+Summary: MeeGo resource management low level C API libraries
Name: libresource
Version: ##__VERSION__##
-Release: 1
-License: Proprietary
-Group: Development/Libraries
-URL: http://127.0.0.1
+Release: 0
+License: LGPLv2.1
+Group: System/Libraries
+URL: http://meego.gitorious.org/maemo-multimedia/libresource
Source0: %{name}-%{version}.tar.gz
-BuildArch: ##__ARCH__##
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(check)
%package devel
-Summary: Libresource development files.
+Summary: Libresource development files
Group: Development/Libraries
-Requires: libresource
+Requires: %{name} = %{version}
%package client
-Summary: Libresource test client
+Summary: MeeGo resource aware client test example
Group: System/Utilities
-Requires: libresource
%description
-libresource...
+Resource management for MeeGo. Resource policy client library.
%description devel
-libresource headers and pkg-config files...
+Resource management for MeeGo. Resource policy client library (development files)
%description client
+Resource management for MeeGo. This is a simple test tool to play with resource management.
%prep
-%setup -q -n ##__TARDIR__##
+%setup -q -n ##__TARDIR__##
%build
-export CFLAGS="-O0 -g3"
%configure --disable-static
make
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-%makeinstall
+rm -rf $RPM_BUILD_ROOT
+%make_install
%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
-%{_libdir}/libresource*.so*
+%{_libdir}/libresource*.so.*
+%doc README COPYING INSTALL AUTHORS NEWS ChangeLog
%files devel
%defattr(-,root,root,-)
%{_includedir}/resource*
-#%{_libdir}/resource*.a
+%{_libdir}/*.so
%{_libdir}/pkgconfig/libresource*.pc
%files client
%defattr(-,root,root,-)
%{_bindir}/resource-client
-
-%changelog
-* Tue Jun 29 2010 Krisztian Litkey <mmf-audio-bounces@projects.maemo.org> -
-- Quick'n dirty initial packaging.
+%{_bindir}/fmradio