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