]> git.pld-linux.org Git - packages/polkit.git/blobdiff - polkit.spec
temporarily switch to gitlab's tag as source; rel 2
[packages/polkit.git] / polkit.spec
index 0f6877a12e9ff8454b68a7f1c362925a565d5aa3..3eef9ed1eef36cf04964963a3161ee52940c1876 100644 (file)
@@ -1,4 +1,3 @@
-# NOTE: elogind also supported (--disable-libsystemd-login --enable-libelogind)
 #
 # Conditional build:
 %bcond_without apidocs         # build without apidocs
 Summary:       A framework for defining policy for system-wide components
 Summary(pl.UTF-8):     Szkielet do definiowania polityki dla komponentów systemowych
 Name:          polkit
-Version:       0.114
-Release:       1
+Version:       0.119
+Release:       2
 License:       LGPL v2+
 Group:         Libraries
-Source0:       https://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 93ff41874e7df8c62ed9e41893817f04
+Source0:       https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 16b0ec658efae724378c7f75233d4120
 Patch0:                systemd-fallback.patch
-Patch1:                %{name}-format.patch
 URL:           https://www.freedesktop.org/wiki/Software/polkit
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.7
@@ -39,7 +37,7 @@ BuildRequires:        intltool >= 0.40.0
 BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtool >= 2:1.5
 BuildRequires: libxslt-progs
-BuildRequires: mozjs52-devel
+BuildRequires: mozjs78-devel
 BuildRequires: pam-devel >= 0.80
 BuildRequires: pkgconfig
 BuildRequires: python-modules
@@ -70,9 +68,7 @@ Summary(pl.UTF-8):    Dokumentacja API PolicyKit
 Group:         Documentation
 Requires:      gtk-doc-common
 Obsoletes:     PolicyKit-apidocs
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 PolicyKit API documentation.
@@ -128,7 +124,6 @@ Statyczne biblioteki PolicyKit.
 %if %{with consolekit} && (%{with systemd} || %{with elogind})
 %patch0 -p1
 %endif
-%patch1 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
@@ -141,6 +136,7 @@ Statyczne biblioteki PolicyKit.
 %configure \
        %{__enable_disable apidocs gtk-doc} \
        --disable-silent-rules \
+       --disable-test \
        %{__enable_disable elogind libelogind} \
        %{__enable_disable systemd libsystemd-login} \
        --with-html-dir=%{_gtkdocdir} \
@@ -194,12 +190,12 @@ fi
 %dir %{_sysconfdir}/polkit-1
 %attr(700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/polkit-1/rules.d/50-default.rules
-/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
 /etc/pam.d/polkit-1
 %dir %{_datadir}/polkit-1
 %{_datadir}/polkit-1/actions
 %attr(700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
 %{_datadir}/dbus-1/system-services/org.freedesktop.PolicyKit1.service
+%{_datadir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
 %{?with_systemd:%{systemdunitdir}/polkit.service}
 %{_mandir}/man1/pkaction.1*
 %{_mandir}/man1/pkcheck.1*
This page took 0.03574 seconds and 4 git commands to generate.