Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37554217
en ru br
Репозитории ALT
S:43.0-alt1
5.1: 0.28.1-alt1
4.1: 0.20-alt1.M41.1
4.0: 0.13-alt1
3.0: 0.10-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:0.19

Группа :: Разработка/Прочее
Пакет: devhelp

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

%define ver_major 0.20
%define cvsdate 20030204
%undefine cvsdate

# Uncomment exactly one of the following (the best choice is the lowest):

#define gecko_provider thunderbird
#define gecko_provider mozilla
#define gecko_provider seamonkey
#define gecko_provider firefox
%define gecko_provider xulrunner

Name: devhelp
Version: %ver_major
Release: alt1.M41.1

Summary: Developer's help program
Summary(be_BY.UTF-8): п║я▀я│я┌я█п╪п╟ п╢п╟п╡п╣п╢п╨я√ п╢п╩я▐ я─п╟я│п©я─п╟я├п╬я·п╫я√п╨п╟ я· п╟я│я▐я─п╬п╢я▄п╢п╥я√ GNOME
Summary(ru_RU.UTF-8): п║п©я─п╟п╡п╬я┤п╫п╟я▐ я│п╦я│я┌п╣п╪п╟ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟ п╡ я│я─п╣п╢п╣ GNOME
License: %gpl2plus
Group: Development/Other
Url: http://www.gnome.org

%ifndef cvsdate
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
%else
Source: %name-%version-%cvsdate.tar.bz2
%endif

Patch: %name-0.20-alt-x86_64.patch

# From configure.in

%define glib_ver 2.6.0
%define gtk_ver 2.8.0
%define libglade_ver 2.4.0
%define libwnck_ver 2.10.0
%define GConf_ver 2.6.0
%define xulrunner_ver 1.9

Requires: lib%name = %version-%release

PreReq: GConf2

BuildPreReq: rpm-build-gnome >= 0.6
BuildPreReq: rpm-build-licenses

# From configure.in

BuildPreReq: intltool >= 0.35.0
BuildPreReq: glib2-devel >= 2.6.0
BuildPreReq: libgtk+2-devel >= 2.8.0
BuildPreReq: libglade2-devel >= %libglade_ver
BuildPreReq: libwnck-devel >= %libwnck_ver
BuildPreReq: GConf libGConf-devel >= 2.6.0
BuildPreReq: gcc-c++
BuildPreReq: zlib-devel gettext-tools
BuildPreReq: xulrunner-devel >= %xulrunner_ver

BuildPreReq: python-devel

BuildPreReq: perl-XML-Parser

BuildRequires: desktop-file-utils

BuildPreReq: libnss-devel libnspr-devel

%description
A developers help program.

%description -l be_BY.UTF-8
п■п╟п╡п╣п╢п╨п╟п╡п╟я▐ я│я▀я│я┌я█п╪п╟ п╢п╩я▐ я─п╟я│п©я─п╟я├п╬я·п╫я√п╨п╟ я┐ п╟я│я▐я─п╬п╢п╥я▄п╢п╥я√ GNOME.

%description -l ru_RU.UTF-8
п║п©я─п╟п╡п╬я┤п╫п╟я▐ я│п╦я│я┌п╣п╪п╟ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟ п╡ я│я─п╣п╢п╣ GNOME.

%package -n lib%name
Summary: Devhelp widgets library
Summary(be_BY.UTF-8): п▒я√п╠п╩я√я▐я┌я█п╨п╟ п╡я√п╢п╤я█я┌п╟я· Devhelp
Summary(ru_RU.UTF-8): п▒п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╡п╦п╢п╤п╣я┌п╬п╡ Devhelp
Group: System/Libraries
Requires: %gecko_provider

%description -n lib%name
This package provides shared library required for Devhelp to work.

%description -l be_BY.UTF-8 -n lib%name
п⌠я█я┌я▀ п©п╟п╨п╣я┌ я┐я┌я─я▀п╪п╩я√п╡п╟п╣ п╫п╣п╟п╠я┘п╬п╢п╫я┐я▌ п╢п╩я▐ п©я─п╟я├я▀ Devhelp п╠я√п╠я√п╩я√я▐я┌я█п╨я┐.

%description -l ru_RU.UTF-8 -n lib%name
п÷п╟п╨п╣я┌ п©я─п╣п╢п╬я│я┌п╬п╡п╩я▐п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪я┐я▌ п╢п╩я▐ я─п╟п╠п╬я┌я▀  Devhelp п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐.

%package -n lib%name-devel
Summary: Devhelp widgets headers
Summary(be_BY.UTF-8): п╓п╟п╧п╩я▀ я─п╟я│п©я─п╟я├п╬я·п╨я√ п©п╟я┌я─я█п╠п╫я▀я▐ п╢п╩я▐ п©п╟п╠я┐п╢п╬п╡я▀ п╢п╟я│я┌п╟я│п╟п╡п╟п╫я▄п╫я▐я· п╥ %name
Summary(ru_RU.UTF-8): п╓п╟п╧п╩я▀ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╫я┐п╤п╫я▀п╣ п╢п╩я▐ п©п╬я│я┌я─п╬п╣п╫п╦я▐ п©я─п╦п╩п╬п╤п╣п╫п╦п╧ я│ %name
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package provides files required to develop programs that use
Devhelp widgets.

%description -n lib%name-devel -l be_BY.UTF-8
п╓п╟п╧п╩я▀ я─п╟я│п©я─п╟я├п╬я·п╨я√ п©п╟я┌я─я█п╠п╫я▀я▐ п╢п╩я▐ п©п╟п╠я┐п╢п╬п╡я▀ п╢п╟я│я┌п╟я│п╟п╡п╟п╫я▄п╫я▐я· п╥ %name

%description -n lib%name-devel -l ru_RU.UTF-8
п╓п╟п╧п╩я▀ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╫я┐п╤п╫я▀п╣ п╢п╩я▐ п©п╬я│я┌я─п╬п╣п╫п╦я▐ п©я─п╦п╩п╬п╤п╣п╫п╦п╧ я│ %name

%package -n gedit-plugin-%name
Summary: DevHelp integration into GEdit
Group: Development/Other

%description -n gedit-plugin-%name
This plugin for GEdit enables using DevHelp from inside the editor.

%define _devhelpdir %_datadir/%name

%prep
%ifndef cvsdate
%setup -q -n %name-%version
%else
%setup -q -n %name-%version-%cvsdate
%endif

%patch -p1

%build
%ifdef cvsdate
NOCONFIGURE=1 ./autogen.sh
%endif

export CXXFLAGS="$CXXFLAGS -I%_includedir/nspr"

%configure \
--with-zlib \
--disable-static \
--disable-install-schemas \
--with-gecko=libxul-embedding

%make_build

%install
%makeinstall

# Create some directories in %name hierarchy

mkdir -p %buildroot%_devhelpdir/{specs,books}

%find_lang %name

%postun -n devhelp
%clean_desktopdb
%clean_menus


%post
%gconf2_install %name
%update_desktopdb
%update_menus

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

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -f %name.lang
%_bindir/*
%dir %_devhelpdir
%dir %_devhelpdir/specs
%dir %_devhelpdir/books
%_devhelpdir/dtd
%_devhelpdir/images
%_devhelpdir/ui
%_devhelpdir/*.glade
%_devhelpdir/default-prefs.js
%_desktopdir/%name.desktop
%_liconsdir/devhelp.*
%_iconsdir/hicolor/*x*/apps/devhelp.png
%_iconsdir/hicolor/scalable/apps/devhelp.svg
%config %gconf_schemasdir/*
%doc AUTHORS ChangeLog NEWS README TODO

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

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

%files -n gedit-plugin-%name
%gedit_pluginsdir/%name.gedit-plugin
%dir %gedit_pluginsdir/%name
%gedit_pluginsdir/%name/*

%exclude %_iconsdir/hicolor/icon-theme.cache

%changelog

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

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