Files
system-tools-backends/system-tools-backends.spec

69 lines
2.6 KiB
RPMSpec

#
# spec file for package system-tools-backends
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: system-tools-backends
Version: 2.10.2
Release: 0
Summary: A set of cross-platform modules for Linux, FreeBSD and other Unix systems
License: GPL-3.0+
Group: System
Url: http://system-tools-backends.freedesktop.org/
Source0: %{name}-%{version}.tar.bz2
Source100: %{name}.rpmlintrc
BuildRequires: intltool
BuildRequires: pkgconfig(dbus-glib-1) >= 0.74
BuildRequires: pkgconfig(glib-2.0) >= 2.4.0
BuildRequires: pkgconfig(polkit-agent-1)
%if 0%{?fedora_version}
BuildRequires: perl-ExtUtils-MakeMaker
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The System Tools Backends (s-t-b for short) are a set of cross-platform modules for Linux, FreeBSD and other Unix systems.
The backends provide an common DBus interface to all platforms to modify or read the system configuration in a distro independent fashion.
Historically, access to system configuration has varied deeply across Unix flavours, and concreting a bit more,
across Linux distributions, making it near impossible to write desktop tools that could work flawlessly in a cross-platform way.
System Tools Backends try to fill this gap, offering a generic and easy way for desktop applications to read and modify configuration details.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}/%{_datadir}/system-tools-backends-2.0/modules/lib/perl/auto/Net/DBus/.packlist
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_sbindir}/%{name}
%{_datadir}/%{name}-2.0
%{_datadir}/dbus-1/system-services/*.service
%{_datadir}/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy
%{_libdir}/pkgconfig/system-tools-backends-2.0.pc
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf
%changelog