Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039014
en ru br
ALT Linux repos
S:2.31.0-alt3
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
URL: ftp://ftp.gnome.org

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2

# From configure.in

%define startup_notification_ver 0.4
%define gtk_ver 2.5.4

# From configure.in

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

%description
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.

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

%build
%configure \
   %{subst_enable static}

%make_build
#wncklocaledir=%_datadir/locale

%install
%make_install DESTDIR=%buildroot install

%find_lang %name

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

%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README
%_libdir/*.so.*

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_datadir/gtk-doc/html/*

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Full changelog you can see here

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