Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562610
en ru br
Репозитории ALT
S:15.1.1-alt1
5.1: 2.26.3.1-alt1
4.1: 2.22.1-alt1.qa1
4.0: 1.8.0-alt1
3.0: 1.4.3-alt1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: gucharmap

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 2.22

Name: gucharmap
Version: %ver_major.1
Release: alt1.qa1

Summary: gucharmap is a featureful Unicode character map
License: %gpl2plus
Group: Text tools

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2

# From configure.ac

%define gtk_ver 2.12.0
%define libgnome_ver 2.13.7
%define libgnomeui_ver 2.13.2
%define gnome_common_ver 2.8.0

Requires: lib%name = %version-%release

Requires(post): GConf2

BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.ac
BuildPreReq: intltool >= 0.35.0
BuildPreReq: gnome-common >= %gnome_common_ver
BuildPreReq: gnome-doc-utils >= 0.9.0
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnomeui-devel >= %libgnomeui_ver
BuildPreReq: libgnome-devel >= %libgnome_ver
BuildPreReq: libGConf-devel GConf

BuildRequires: gcc-c++ gnome-doc-utils python-modules-compiler perl-XML-Parser

%description
This package provides a featureful Unicode character map for GNOME2.

%package -n lib%name
Summary: Shared library needed to run %name
Group: System/Libraries
License: %lgpl2plus

%description -n lib%name
This package provides shared library for programs that show character maps
(including Gucharmap and a character map applet for the GNOME panel).

%package -n lib%name-devel
Summary: Development files for lib%name
License: %lgpl2plus
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains headers and libraries needed to compile
applications against lib%name

%prep
%setup -q

%build
%autoreconf
%configure \
   --disable-scrollkeeper \
   --disable-static \
   --enable-gconf \
   --disable-schemas-install

%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make_install DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%find_lang --with-gnome %name

%postun -n gucharmap
%clean_menus


%post
%gconf2_install %name
%update_menus

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%post -n lib%name
%post_ldconfig

%postun -n lib%name -p %postun_ldconfig

%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_liconsdir/*
%config %gconf_schemasdir/%name.schemas
%doc ChangeLog README TODO COPYING COPYING.UNICODE

%files -n lib%name
%_libdir/*.so.*
%doc COPYING.LIB

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin