118 lines
3.6 KiB
RPMSpec
118 lines
3.6 KiB
RPMSpec
Name: libgksu
|
|
Version: 2.0.12
|
|
Release: 2mamba
|
|
Summary: A library that provides a Gtk+ frontend to su and sudo
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.nongnu.org/gksu/
|
|
Source: http://people.debian.org/~kov/gksu/libgksu-%{version}.tar.gz
|
|
Patch0: libgksu-2.0.12-fbsd.patch
|
|
Patch1: libgksu-2.0.12-configure-libs.patch
|
|
Patch2: libgksu-2.0.12-automake-1.11.2.patch
|
|
Patch3: libgksu-2.0.12-make-3.82.patch
|
|
Patch4: libgksu-2.0.12-polinguas.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: GConf-devel
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdbus-glib-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libgtop-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpthread-stubs-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: libstartup-notification-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: ORBit2-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
GKSu is a library that provides a Gtk+ frontend to su and sudo. It supports login shells and preserving environment when acting as a su frontend. It is useful to menu items or other graphical programs that need to ask a user's password to run another program as another user.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
GKSu is a library that provides a Gtk+ frontend to su and sudo. It supports login shells and preserving environment when acting as a su frontend. It is useful to menu items or other graphical programs that need to ask a user's password to run another program as another user.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p0
|
|
%patch4 -p1
|
|
touch NEWS README
|
|
|
|
%build
|
|
autoreconf -f -i
|
|
%configure
|
|
%make LIBS="-lX11"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
# -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/gconf/schemas/gksu.schemas
|
|
%{_bindir}/gksu-properties
|
|
%{_libdir}/libgksu2.so.*
|
|
%{_libdir}/libgksu/gksu-run-helper
|
|
%{_datadir}/applications/gksu-properties.desktop
|
|
%dir %{_datadir}/libgksu
|
|
%{_datadir}/libgksu/gksu-properties.ui
|
|
%{_mandir}/man1/gksu-properties.1*
|
|
%{_datadir}/pixmaps/gksu.png
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_prefix}/include/libgksu/*.h
|
|
%{_libdir}/libgksu2.a
|
|
%{_libdir}/libgksu2.la
|
|
%{_libdir}/libgksu2.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_datadir}/gtk-doc/html/libgksu
|
|
%{_datadir}/gtk-doc/html/libgksu/*
|
|
%doc ChangeLog
|
|
|
|
%changelog
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-2mamba
|
|
- rebuilt to update .la file
|
|
|
|
* Mon Sep 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.12-1mamba
|
|
- package created by autospec
|