Репозитории ALT
S: | 2.31.0-alt3 |
5.1: | 2.26.2-alt1 |
4.0: | 2.16.0-alt1 |
3.0: | 2.10.2-alt1 |
Группа :: Система/Библиотеки
Пакет: libwnck
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.26
%def_disable static
%def_disable debug
Name: libwnck
Version: %ver_major.2
Release: alt1
Summary: libwnck is a Window Navigator Construction Kit
License: %lgpl2plus
Group: System/Libraries
URL: ftp://ftp.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Provides: %{name}2.22 = %version-%release
Provides: %{name}2.20 = %version-%release
Obsoletes: %{name}2.22
Obsoletes: %{name}2.20
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=412887
Patch1: %name-2.18-fix-intersect.diff
# http://bugzilla.gnome.org/show_bug.cgi?id=86382
Patch2: %name-2.22-rotate-windowlist.patch
BuildPreReq: rpm-build-gnome rpm-build-licenses rpm-build-compat
# From configure.in
BuildPreReq: intltool >= 0.40.0
BuildPreReq: gnome-common
BuildPreReq: libstartup-notification-devel >= 0.4
BuildPreReq: libX11-devel libXres-devel libXext-devel libXt-devel
BuildPreReq: libgtk+2-devel >= 2.11.3
BuildPreReq: glib2-devel >= 2.16.0
BuildPreReq: gtk-doc >= 1.9
%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
Provides: %{name}2.22-devel = %version-%release
Provides: %{name}2.20-devel = %version-%release
Obsoletes: %{name}2.22-devel
Obsoletes: %{name}2.20-devel
%description devel
This package contains header and development libraries for %name
%package devel-doc
Summary: Development documentation for %name
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release
BuildArch: noarch
%description devel-doc
This package contains development documentation for %name.
%if_enabled static
%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.
%endif
%prep
%setup -q
%patch1 -p0 -b .fix-intersect
%patch2 -p0 -b .rotate-window-list
# quick hack
subst '/SHAVE_INIT/d' configure.in
%build
gtkdocize
%autoreconf
%configure \
%{subst_enable static} \
%{subst_enable debug}
%make_build
%install
%makeinstall_std
%find_lang %name
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README
%_libdir/*.so.*
%_bindir/wnckprop
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%files devel-doc
%gtk_docdir/%name
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
%def_disable debug
Name: libwnck
Version: %ver_major.2
Release: alt1
Summary: libwnck is a Window Navigator Construction Kit
License: %lgpl2plus
Group: System/Libraries
URL: ftp://ftp.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Provides: %{name}2.22 = %version-%release
Provides: %{name}2.20 = %version-%release
Obsoletes: %{name}2.22
Obsoletes: %{name}2.20
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
# http://bugzilla.gnome.org/show_bug.cgi?id=412887
Patch1: %name-2.18-fix-intersect.diff
# http://bugzilla.gnome.org/show_bug.cgi?id=86382
Patch2: %name-2.22-rotate-windowlist.patch
BuildPreReq: rpm-build-gnome rpm-build-licenses rpm-build-compat
# From configure.in
BuildPreReq: intltool >= 0.40.0
BuildPreReq: gnome-common
BuildPreReq: libstartup-notification-devel >= 0.4
BuildPreReq: libX11-devel libXres-devel libXext-devel libXt-devel
BuildPreReq: libgtk+2-devel >= 2.11.3
BuildPreReq: glib2-devel >= 2.16.0
BuildPreReq: gtk-doc >= 1.9
%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
Provides: %{name}2.22-devel = %version-%release
Provides: %{name}2.20-devel = %version-%release
Obsoletes: %{name}2.22-devel
Obsoletes: %{name}2.20-devel
%description devel
This package contains header and development libraries for %name
%package devel-doc
Summary: Development documentation for %name
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release
BuildArch: noarch
%description devel-doc
This package contains development documentation for %name.
%if_enabled static
%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.
%endif
%prep
%setup -q
%patch1 -p0 -b .fix-intersect
%patch2 -p0 -b .rotate-window-list
# quick hack
subst '/SHAVE_INIT/d' configure.in
%build
gtkdocize
%autoreconf
%configure \
%{subst_enable static} \
%{subst_enable debug}
%make_build
%install
%makeinstall_std
%find_lang %name
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README
%_libdir/*.so.*
%_bindir/wnckprop
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%files devel-doc
%gtk_docdir/%name
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь