Blob Blame Raw
Name:          group-service
Version:       1.1.0
Release:       4%{?dist}
Summary:       Dbus Group management CLI tool
License:       GPLv3+ 
URL: {name}

# downloading the tarball
# spectool -g group-service.spec
Source0:       %url/archive/%{version}/%{name}-%{version}.tar.gz

Patch1:        group-service_0001-Fixed-Library-Version-1.0.0.patch

BuildRequires: cmake
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: gettext
BuildRequires: systemd-devel
BuildRequires: dbus-devel
BuildRequires: libxcrypt-devel
BuildRequires: meson
BuildRequires: polkit-devel
%if 0%{?fedora} && 0%{?fedora} >= 30
BuildRequires: systemd-rpm-macros
BuildRequires: systemd


Dbus Group management CLI tool

%package devel
Summary:  Support for developing back-ends for group-service
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
This package contains libraries and header files needed for
group-service back-ends development.

%autosetup -p1



%find_lang %{name} --with-gnome --all-name

%systemd_post group-admin-daemon.service

%systemd_preun group-admin-daemon.service

%systemd_postun group-admin-daemon.service

%files -f %{name}.lang
%license COPYING

%files devel

* Mon Mar 25 2019 Wolfgang Ulbrich <> - 1.1.0-4
- add upsream patch to fix soname version

* Sat Mar 23 2019 Wolfgang Ulbrich <> - 1.1.0-3
- update tarball and drop patch
- update shared libraries packaging

* Sat Mar 23 2019 Wolfgang Ulbrich <> - 1.1.0-2
- fix source link
- fix description
- fix packaging shared libraries
- add upstream patch to fix include dir

* Mon Mar 18 2019 Wolfgang Ulbrich <> - 1.1.0-1
- initial package build