Sisyphus repository
Last update: 25 november 2020 | SRPMs: 17746 | Visits: 19682785
en ru br
ALT Linux repos
5.0: 2.26.1-alt1
4.0: 2.16.0-alt1
3.0: 2.10.2-alt1

Group :: System/Libraries
RPM: libwnck

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver_major 2.16
%def_disable static

Name: libwnck
Version: %ver_major.0
Release: alt1

Summary: libwnck is a Window Navigator Construction Kit
License: LGPL
Group: System/Libraries


# From

%define startup_notification_ver 0.4
%define gtk_ver 2.5.4

# From

BuildPreReq: intltool >= 0.35
BuildPreReq: libstartup-notification-devel >= %startup_notification_ver
BuildPreReq: libX11-devel libXres-devel libXext-devel libXt-devel
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gtk-doc >= 1.0

BuildRequires: perl-XML-Parser

libwnck is Window Navigator Construction Kit, i.e. a library to use for
writing pagers and taskslists and stuff.

This library is a part of the GNOME 2 platform.

%package devel
Summary: Header and development libraries for %name
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel
Header, docs and development libraries for %name

%package devel-static
Summary: Static libraries and objects for %name
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description devel-static
This package contains the General Window Manager interfacing static
libraries and objects.

%setup -q
#__subst "s,\(localedir = \).*$,\1%_datadir/locale," po/Makefile*

%configure \
   %{subst_enable static}


%make_install DESTDIR=%buildroot install

%find_lang %name

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files -f %name.lang

%files devel
%doc %_datadir/gtk-doc/html/*

%if_enabled static
%files devel-static


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin