Blob Blame Raw
# project name is different at github
%global project_name user-admin

Name:          mate-user-admin
Version:       1.1.1
Release:       1%{?dist}
Summary:       User management tool
License:       GPLv3+ 
URL: {project_name}

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

BuildRequires: gcc
BuildRequires: gtk3-devel
BuildRequires: libpwquality-devel
BuildRequires: accountsservice-devel
BuildRequires: mate-desktop-devel
# for libcrypt and meson
%if 0%{?fedora} && 0%{?fedora} >= 28
BuildRequires: libxcrypt-devel
BuildRequires: glibc-devel
BuildRequires: gettext-devel
BuildRequires: meson
BuildRequires: desktop-file-utils

Mate User management tool

%autosetup -p1 -n %{project_name}-%{version}



desktop-file-install                               \
  --delete-original                                \
  --dir %{buildroot}%{_datadir}/applications    \

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

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

* Tue Sep 11 2018 Wolfgang Ulbrich <> - 1.1.1-1
- update to 1.1.1

* Mon Sep 03 2018 Wolfgang Ulbrich <> - 1.0.0-1
- initial package build