Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37557280
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.26

Name: gucharmap
Version: %ver_major.3.1
Release: alt1

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 glib_ver 2.16.3
%define gtk_ver 2.13.6
%define pygtk_ver 2.7.1

Requires: lib%name = %version-%release
Requires(post,preun): GConf

BuildPreReq: rpm-build-gnome rpm-build-licenses
# From configure.ac
BuildPreReq: intltool >= 0.40.0
BuildPreReq: gnome-common
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gnome-doc-utils >= 0.9.0
BuildPreReq: gtk-doc >= 1.0
BuildPreReq: libGConf-devel GConf
BuildPreReq: python-module-pygtk-devel >= %pygtk_ver

BuildRequires: gcc-c++ 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

rm -f m4/libtool.m4 m4/lt*.m4

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

%make_build

%install
%make_install DESTDIR=%buildroot install

%find_lang --with-gnome %name

%post
%gconf2_install %name

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

%files -f %name.lang
%_bindir/*
%_desktopdir/*
%config %gconf_schemasdir/%name.schemas
%doc AUTHORS ChangeLog ChangeLog.pre-2-23 NEWS README TODO COPYING COPYING.UNICODE

%files -n lib%name
%_libdir/*.so.*

%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