Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37478034
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.10
%def_disable static

Name: libwnck
Version: %ver_major.2
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

Packager: Yuri N. Sedunov <aris at altlinux.ru>

%define gtk_ver 2.6.4
%define startup_notification_ver 0.8

Requires: libgtk+2 >= %gtk_ver
Requires: libstartup-notification >= %startup_notification_ver

BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libstartup-notification-devel >= %startup_notification_ver

# Automatically added by buildreq on Tue Mar 23 2004

BuildRequires: XFree86-devel-static XFree86-libs fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel libatk-devel libgtk+2-devel libpango-devel libstartup-notification-devel libstdc++-devel pkgconfig

%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
Requires: libgtk+2-devel >= %gtk_ver

%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/usr/share/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