--- /dev/null
++* Fri Sep 19 2014 Imran Zaman <imran.zaman@intel.com>
++- Add support for overriding the bus type using environment variable
++
+* Mon Sep 08 2014 Imran Zaman <imran.zaman@intel.com>
+- Added primary group name for new user in the configuration file
+
+* Fri Sep 05 2014 Imran Zaman <imran.zaman@intel.com>
+- Fixed bug TC-1580 which fixes user's folder and file access permissions
+
+* Tue Aug 26 2014 Imran Zaman <imran.zaman@intel.com>
+- Made gum-utils logs printible always
+- Fixed bug for guest user which can login without authentication
+
+* Thu Aug 21 2014 Imran Zaman <imran.zaman@intel.com>
+- Added support for scripts which can be run after a user/group is added
+ or before a user/group is deleted
+
+* Tue Aug 12 2014 Imran Zaman <imran.zaman@intel.com>
+- Fix access permissions for user home directory
+
+* Tue Aug 05 2014 Imran Zaman <imran.zaman@intel.com>
+- Log only when logging is enabled
+- Fixed p2p stream descriptor leak
+
+* Thu May 22 2014 Imran Zaman <imran.zaman@intel.com>
+- Renamed gum-example as gum-utils to be used as command line utility
+
+* Wed May 21 2014 Imran Zaman <imran.zaman@intel.com>
+- Fixed Bug # TIVI-2988
+- Updated logs
+
+* Tue May 20 2014 Imran Zaman <imran.zaman@intel.com>
+- Fixed bug#TIVI-3170 (fixed smack labels for newly created files and folders
+ as reported in https://bugs.tizen.org/jira/browse/TIVI-3170)
+
+* Wed Feb 12 2014 Imran Zaman <imran.zaman@intel.com>
+- Simplified gumd packages for Tizen and SUSE
+- Simplified gumd packages
+- fix uninstalled pkgconfig files
+
+* Fri Feb 07 2014 Patrick McCarty <patrick.mccarty@linux.intel.com> fe07066
+- Move the packaging files into the packaging/ directory, since a symlink with
+ the same name does not work with 'gbs build'. (DEVT-148)
+
+* Fri Dec 27 2013 Imran Zaman <imran.zaman@intel.com>
+- Obsoletes gum package as the package is renamed to gumd
+
+* Mon Dec 23 2013 Imran Zaman <imran.zaman@intel.com>
+- added test cases for error and dictionary objects
+- utilized dictionary functions for get/set key-value pairs
+- clean up generated coverage files on make clean
+- enable tests by default if coverage is enabled
+- exclude external and generated dbus files from code coverage calculation
+
+* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
+- Corrected spec and changes file names
+
+* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
+- Removed dist spec packaging folder from main source tree
+
+* Fri Dec 20 2013 Imran Zaman <imran.zaman@intel.com>
+- Release 0.0.1 (First release)
+
+* Mon Sep 02 2013 Imran Zaman <imran.zaman@intel.com>
+- Initial RPM packaging
--- /dev/null
- Version: 0.0.4
- Release: 5
+# define used dbus type [p2p, session, system]
+%define dbus_type system
+# enable debug features such as control environment variables
+# WARNING! do not use for production builds as it will break security
+%define debug_build 0
+
+Name: gumd
+Summary: User management daemon and client library
++Version: 0.0.5
++Release: 1
+Group: Security/Accounts
+License: LGPL-2.1+
+Source: %{name}-%{version}.tar.gz
+URL: https://github.com/01org/gumd
+Source1001: %{name}.manifest
+Source1002: libgum.manifest
+Source1003: %{name}-tizen.conf
+Obsoletes: gum
+Requires: libgum = %{version}-%{release}
+%if %{dbus_type} != "p2p"
+Requires: dbus-1
+%endif
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(systemd)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(gtk-doc)
+BuildRequires: pkgconfig(glib-2.0) >= 2.30
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(gmodule-2.0)
+
+
+%description
+%{summary}.
+
+
+%package -n libgum
+Summary: User management client library
+Group: Security/Libraries
+
+
+%description -n libgum
+%{summary}.
+
+
+%package -n libgum-devel
+Summary: Development files for user management client library
+Group: Security/Development
+Requires: libgum = %{version}-%{release}
+
+
+%description -n libgum-devel
+%{summary}.
+
+
+%package doc
+Summary: Documentation files for %{name}
+Group: Security/Documentation
+Requires: libgum = %{version}-%{release}
+
+
+%description doc
+%{summary}.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+%if %{debug_build} == 1
+%configure --enable-dbus-type=%{dbus_type} --enable-debug
+%else
+%configure --enable-dbus-type=%{dbus_type}
+%endif
+
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+cp -a %{SOURCE1001} %{buildroot}%{_datadir}/%{name}.manifest
+cp -a %{SOURCE1002} %{buildroot}%{_datadir}/libgum.manifest
+cp -a %{SOURCE1003} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
+
+
+%post
+/sbin/ldconfig
+/usr/bin/chmod u+s %{_bindir}/%{name}
+/usr/bin/getent group gumd > /dev/null || /usr/sbin/groupadd -r gumd
+/usr/bin/mkdir -p %{_sysconfdir}/%{name}/useradd.d
+/usr/bin/mkdir -p %{_sysconfdir}/%{name}/userdel.d
+/usr/bin/mkdir -p %{_sysconfdir}/%{name}/groupadd.d
+/usr/bin/mkdir -p %{_sysconfdir}/%{name}/groupdel.d
+
+
+%postun -p /sbin/ldconfig
+
+
+%files -n libgum
+%defattr(-,root,root,-)
+%manifest %{_datadir}/libgum.manifest
+%{_libdir}/libgum*.so.*
+%{_bindir}/gum-utils
+
+
+%files -n libgum-devel
+%defattr(-,root,root,-)
+%{_includedir}/gum/*
+%{_libdir}/libgum*.so
+%{_libdir}/pkgconfig/libgum.pc
+%if %{dbus_type} != "p2p"
+%{_datadir}/dbus-1/interfaces/*UserManagement*.xml
+%endif
+
+
+%files
+%defattr(-,root,root,-)
+%manifest %{_datadir}/%{name}.manifest
+%doc AUTHORS COPYING.LIB INSTALL NEWS README
+%{_bindir}/%{name}
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
+%if %{dbus_type} == "session"
+%dir %{_datadir}/dbus-1/services
+%{_datadir}/dbus-1/services/*UserManagement*.service
+%else if %{dbus_type} == "system"
+%dir %{_datadir}/dbus-1/system-services
+%{_datadir}/dbus-1/system-services/*UserManagement*.service
+%dir %{_sysconfdir}/dbus-1
+%dir %{_sysconfdir}/dbus-1/system.d
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/gumd-dbus.conf
+%endif
+
+
+%files doc
+%defattr(-,root,root,-)
+%{_datadir}/gtk-doc/html/gumd/*