oops, port to meson
This commit is contained in:
parent
2ff3650803
commit
d8e5a0879f
@ -12,12 +12,12 @@ Source0: http://www.freedesktop.org/software/accountsservice/accountsserv
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: git
|
||||
BuildRequires: meson
|
||||
|
||||
Requires: polkit
|
||||
Requires: shadow-utils
|
||||
@ -50,14 +50,12 @@ files needed to build applications that use accountsservice-libs.
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
%configure --enable-user-heuristics
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%meson -Duser_heuristics=true -Dgtk_doc=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%meson_install
|
||||
|
||||
%find_lang accounts-service
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
@ -73,7 +71,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
%files -f accounts-service.lang
|
||||
%license COPYING
|
||||
%doc README AUTHORS
|
||||
%doc README.md AUTHORS
|
||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
|
||||
%{_libexecdir}/accounts-daemon
|
||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user