From c821ec6bbf44d1875d8162db8733d0f20cace507 Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Mon, 23 Dec 2013 12:47:22 +0200 Subject: [PATCH] Fixed spec file for package rpm names Change-Id: Id387af64b17819c4306bcedf06f88cefce28dffe Signed-off-by: Imran Zaman --- Makefile.am | 7 +++++++ Makefile.in | 7 +++++++ dists/rpm/tizen/packaging/gumd.spec | 8 ++++---- docs/html/GumConfig.html | 6 +++--- docs/html/GumDisposable.html | 2 +- docs/html/ch01.html | 2 +- docs/html/ch02.html | 2 +- docs/html/ch03.html | 2 +- docs/html/ch04.html | 2 +- docs/html/ch05.html | 2 +- docs/html/gumd-examples.html | 24 ++++++++++++------------ docs/html/um-intro.html | 2 +- 12 files changed, 40 insertions(+), 26 deletions(-) diff --git a/Makefile.am b/Makefile.am index 48f0e76..8ea26de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,3 +18,10 @@ EXTRA_DIST = dists tools valgrind: cd test; make valgrind + +lcov: check + @rm -rf lcov-report + @lcov -c --directory src/ --output-file lcov.output + @genhtml lcov.output --output-directory lcov-report + @rm lcov.output + @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html" diff --git a/Makefile.in b/Makefile.in index 26a6382..908f2f1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -807,6 +807,13 @@ uninstall-am: valgrind: cd test; make valgrind +lcov: check + @rm -rf lcov-report + @lcov -c --directory src/ --output-file lcov.output + @genhtml lcov.output --output-directory lcov-report + @rm lcov.output + @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html" + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/dists/rpm/tizen/packaging/gumd.spec b/dists/rpm/tizen/packaging/gumd.spec index ed7e5b3..e5b1584 100644 --- a/dists/rpm/tizen/packaging/gumd.spec +++ b/dists/rpm/tizen/packaging/gumd.spec @@ -63,14 +63,14 @@ Requires: libgum-common = %{version}-%{release} %{summary}. -%package -n %{name}-devel +%package devel Summary: Development files for user management daemon Group: Development/Daemons Requires: %{name} = %{version}-%{release} Requires: libgum-common-devel = %{version}-%{release} -%description -n %{name}-devel +%description devel %{summary}. @@ -152,7 +152,7 @@ getent group gumd > /dev/null || /usr/sbin/groupadd -r gumd %endif -%files %{name} +%files %defattr(-,root,root,-) %manifest %{_datadir}/%{name}.manifest %doc AUTHORS COPYING.LIB INSTALL NEWS README @@ -169,7 +169,7 @@ getent group gumd > /dev/null || /usr/sbin/groupadd -r gumd %endif -%files -n %{name}-devel +%files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/%{name}.pc diff --git a/docs/html/GumConfig.html b/docs/html/GumConfig.html index c65e396..ce2d537 100644 --- a/docs/html/GumConfig.html +++ b/docs/html/GumConfig.html @@ -87,7 +87,7 @@ for where the file is searched for.

-

Usage

+

Usage

Following code snippet demonstrates how to create and use config object: @@ -105,7 +105,7 @@ g_object_unref(config);

-

Where the configuration file is searched for

+

Where the configuration file is searched for

@@ -127,7 +127,7 @@ $(sysconfdir) + "gum.conf"

-

Example configuration file

+

Example configuration file

diff --git a/docs/html/GumDisposable.html b/docs/html/GumDisposable.html index d7136b5..e18b276 100644 --- a/docs/html/GumDisposable.html +++ b/docs/html/GumDisposable.html @@ -90,7 +90,7 @@ be required to destory after some period of inactivity.

-

Usage

+

Usage

Following code snippet demonstrates how to derive and use GumDisposable: diff --git a/docs/html/ch01.html b/docs/html/ch01.html index b36ea46..e7abd77 100644 --- a/docs/html/ch01.html +++ b/docs/html/ch01.html @@ -21,7 +21,7 @@

-Daemon (gumd) configuration

+Daemon (gumd) configuration
GumConfig — gum configuration information diff --git a/docs/html/ch02.html b/docs/html/ch02.html index 80ed324..98b696b 100644 --- a/docs/html/ch02.html +++ b/docs/html/ch02.html @@ -21,7 +21,7 @@

-Common

+Common
GumDictionary — a dictionary container holding string keys and variant diff --git a/docs/html/ch03.html b/docs/html/ch03.html index 579e05f..359f37d 100644 --- a/docs/html/ch03.html +++ b/docs/html/ch03.html @@ -21,7 +21,7 @@

-Client library (libgum) interface

+Client library (libgum) interface
GumUser — provides interface for managing user's account diff --git a/docs/html/ch04.html b/docs/html/ch04.html index 843c1a9..ffbcb8a 100644 --- a/docs/html/ch04.html +++ b/docs/html/ch04.html @@ -54,7 +54,7 @@

-Appendices

+Appendices

C

GumConfig, struct in GumConfig diff --git a/docs/html/ch05.html b/docs/html/ch05.html index e58ca54..675cd5d 100644 --- a/docs/html/ch05.html +++ b/docs/html/ch05.html @@ -21,7 +21,7 @@

-Deprecated APIs

+Deprecated APIs
-

Add User

+

Add User

User can be added with flag --add-user:

@@ -74,7 +74,7 @@

-

Delete User

+

Delete User

User can be deleted with flag --delete-user:

@@ -89,7 +89,7 @@

-

Update User

+

Update User

User can be update with flag --update-user:

@@ -113,7 +113,7 @@

-

Get User

+

Get User

User data can be retrieved with flag --get-user:

@@ -128,7 +128,7 @@

-

Get User By Name

+

Get User By Name

User data can be retrieved with flag --get-user-by-name:

@@ -143,7 +143,7 @@

-

Add Group

+

Add Group

Group can be added with flag --add-group:

@@ -162,7 +162,7 @@

-

Delete Group

+

Delete Group

Group can be deleted with flag --delete-group:

@@ -177,7 +177,7 @@

-

Update Group

+

Update Group

Group can be updated with flag --udpate-group:

@@ -194,7 +194,7 @@

-

Get Group

+

Get Group

Group data can be retrieved with flag --get-group:

@@ -209,7 +209,7 @@

-

Get Group By Name

+

Get Group By Name

Group data can be retrieved with flag --get-group-by-name:

@@ -224,7 +224,7 @@

-

Add member To Group

+

Add member To Group

New member can be added to a group with flag --add-member:

@@ -240,7 +240,7 @@

-

Delete member From Group

+

Delete member From Group

A member can be removed from the group with flag --delete-member:

diff --git a/docs/html/um-intro.html b/docs/html/um-intro.html index 6f7d939..ccaccb2 100644 --- a/docs/html/um-intro.html +++ b/docs/html/um-intro.html @@ -22,7 +22,7 @@
-

What is gumd/libgum?

+

What is gumd/libgum?

gumd and libgum together provides a framework for creating, deleting and modifying user and groups in the system. gumd is a daemon that -- 2.7.4