[mate-polkit] initial build

Dan Mashal vicodan at fedoraproject.org
Tue Aug 21 09:20:16 UTC 2012


commit 96269f83afbc4f2e0168a513f27592bde929d009
Author: Dan Mashal <dan.mashal at gmail.com>
Date:   Tue Aug 21 02:19:20 2012 -0700

    initial build

 mate-polkit.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/mate-polkit.spec b/mate-polkit.spec
new file mode 100644
index 0000000..eb83c19
--- /dev/null
+++ b/mate-polkit.spec
@@ -0,0 +1,67 @@
+Name:		mate-polkit
+Version:	1.4.0
+Release:	2%{?dist}
+Summary:	Integrates polkit authentication for MATE desktop
+License:	LGPLv2+ and GPLv2+
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.4/%name-%version.tar.xz
+
+BuildRequires:	cairo-gobject-devel gobject-introspection-devel gtk2-devel mate-common polkit-devel
+
+Provides:	PolicyKit-authentication-agent
+
+
+%description
+Integrates polkit with the MATE Desktop environment
+
+%package devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary:	Integrates polkit with the MATE Desktop environment
+
+%description devel
+Development libraries for mate-polkit
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh --disable-static
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+%find_lang %{name}
+
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%post
+/sbin/ldconfig
+
+%postun
+update-desktop-database &> /dev/null || :
+/sbin/ldconfig
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%config(noreplace) %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop
+%{_libdir}/libpolkit-gtk-mate-1.so.0
+%{_libdir}/libpolkit-gtk-mate-1.so.0.0.0
+%{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib
+%{_libexecdir}/polkit-mate-authentication-agent-1
+%{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir
+
+%files devel
+%{_libdir}/libpolkit-gtk-mate-1.so
+%{_libdir}/pkgconfig/polkit-gtk-mate-1.pc
+%{_includedir}/polkit-gtk-mate-1/
+
+%changelog
+* Sat Aug 18 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-2
+- Remove duplicate doc macro, add provides, fix post macro, have devel package own proper dir
+
+* Wed Aug 08 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-1
+- Initial build


More information about the scm-commits mailing list