polkit-gnome/polkit-gnome.spec

136 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: polkit-gnome
Version: 0.105
Release: 2mamba
Summary: PolicyKit integration for the GNOME desktop
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source: ftp://ftp.gnome.org/pub/gnome/sources/polkit-gnome/%{version}/polkit-gnome-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: polkit-devel
## AUTOBUILDREQ-END
BuildRequires: gobject-introspection-devel
Provides: polkit-gnome-devel
Obsoletes: polkit-gnome-devel
Obsoletes: polkit-gnome-apidocs
Requires: at-spi2-core
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{name} provides an authentication agent for PolicyKit that matches the look and feel of the GNOME desktop
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
PolicyKit integration for the GNOME desktop.
This package contains static libraries and header files need for development.
%package apidocs
Summary: %{name} API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
%{name} API documentation.
%prep
%setup -q
%build
%configure \
--enable-gtk-doc \
--disable-introspection
make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install DESTDIR=%{buildroot}
#echo 'NotShowIn=KDE;' >> %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
%find_lang %{name}-1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}-1.lang
%defattr(-,root,root)
#%{_sysconfdir}/xdg/autostart/polkit-gnome-*.desktop
#%{_libdir}/libpolkit-gtk-*.so.*
%{_libexecdir}/polkit-gnome-*
# %{_libdir}/girepository-1.0/*.typelib
%doc AUTHORS COPYING
# NEWS README TODO
#%files devel
#%defattr(-,root,root)
#%{_includedir}/polkit-gtk-1/polkitgtk/*.h
#%{_libdir}/libpolkit-gtk-*.*a
#%{_libdir}/libpolkit-gtk-*.so
#%{_exec_prefix}/lib/pkgconfig/*.pc
# %{_datadir}/gir-1.0/*.gir
#%files apidocs
#%defattr(-,root,root)
#%dir %{_datadir}/gtk-doc/html/polkit-gtk-1
#%{_datadir}/gtk-doc/html/polkit-gtk-1/*
%changelog
* Sun May 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.105-2mamba
- require at-spi2-core
* Thu Oct 27 2011 Automatic Build System <autodist@mambasoft.it> 0.105-1mamba
- automatic version update by autodist
* Mon Oct 17 2011 Automatic Build System <autodist@mambasoft.it> 0.104-1mamba
- automatic version update by autodist
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 0.103-1mamba
- update to 0.103
* Wed Aug 17 2011 Automatic Build System <autodist@mambasoft.it> 0.102-1mamba
- automatic version update by autodist
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 0.101-1mamba
- automatic update by autodist
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99-1mamba
- update to 0.99
* Fri Oct 08 2010 gil <puntogil@libero.it> 0.96-1mamba
- package created by autospec