Группа :: Работа с текстами
Пакет: gnomesword
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: gnomesword
Version: 2.1.1
Release: alt0.M24.1
Summary: Bible Study Software for Linux and the Gnome Desktop
Summary(ru_RU.KOI8-R): Программа для изучения Библии (для среды Gnome)
Url: http://gnomesword.sourceforge.net
Group: Text tools
License: GPL
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar.bz2
Patch0: %name-%version.patch
# manually removed: gcc-g77 hostinfo xorg-x11-devel xorg-x11-libs
# Automatically added by buildreq on Sun Oct 31 2004
BuildRequires: ORBit2-devel esound fontconfig freetype2 gcc-c++ glib2-devel gnome-vfs2-devel libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libgal2-devel libglade2-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeprint2-devel libgnomeprintui-devel libgnomeui-devel libgtk+2-devel libgtkhtml3-devel libpango-devel libpopt-devel libstdc++-devel libsword-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper zlib-devel
BuildPreReq: ImageMagick
%description
GnomeSword is a GNOME interface to the Sword Project
(http://www.croswire.org/sword)
The SWORD Bible Framework allows easy manipulation of Bible texts,
commentaries, lexicons, dictionaries, etc.
%prep
%setup -q
%patch -p 0
%__subst "s|libgtkhtml-3.0|libgtkhtml-3.1|g" configure
%__subst "s|gal-2.0|gal-2.2|g" configure
%build
%configure
%make
%install
%makeinstall
%__mv %buildroot%_bindir/%{name}2 %buildroot%_bindir/%name
mkdir -p $RPM_BUILD_ROOT%_menudir
cat << EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(%name): command="%_bindir/%name" \
icon="%name.png" \
longtitle="Bible Study Software for Linux and the Gnome Desktop" \
genericname="Bible study tool" \
title="Gnome Sword" \
needs="x11" \
section="Applications/Text tools"
EOF
mkdir -p $RPM_BUILD_ROOT/{%_liconsdir,%_miconsdir}
install pixmaps/gs2-48x48.png $RPM_BUILD_ROOT%_liconsdir/%name.png
convert -size 16x16 -resize 16x16 pixmaps/gs2-48x48.png %buildroot/%_miconsdir/%name.png
convert -size 32x32 -resize 32x32 pixmaps/gs2-48x48.png %buildroot/%_iconsdir/%name.png
%__rm -rf %buildroot/var/lib/scrollkeeper
%find_lang %name --with-gnome
# --all-name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog INSTALL NEWS README TODO
%_bindir/*
%_datadir/applications/gnomesword.desktop
%_datadir/pixmaps/*
%_iconsdir/%name.png
%_liconsdir/%name.png
%_miconsdir/%name.png
%_menudir/%name
%exclude %_defaultdocdir/%{name}
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.1.1
Release: alt0.M24.1
Summary: Bible Study Software for Linux and the Gnome Desktop
Summary(ru_RU.KOI8-R): Программа для изучения Библии (для среды Gnome)
Url: http://gnomesword.sourceforge.net
Group: Text tools
License: GPL
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: %name-%version.tar.bz2
Patch0: %name-%version.patch
# manually removed: gcc-g77 hostinfo xorg-x11-devel xorg-x11-libs
# Automatically added by buildreq on Sun Oct 31 2004
BuildRequires: ORBit2-devel esound fontconfig freetype2 gcc-c++ glib2-devel gnome-vfs2-devel libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libgal2-devel libglade2-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeprint2-devel libgnomeprintui-devel libgnomeui-devel libgtk+2-devel libgtkhtml3-devel libpango-devel libpopt-devel libstdc++-devel libsword-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper zlib-devel
BuildPreReq: ImageMagick
%description
GnomeSword is a GNOME interface to the Sword Project
(http://www.croswire.org/sword)
The SWORD Bible Framework allows easy manipulation of Bible texts,
commentaries, lexicons, dictionaries, etc.
%prep
%setup -q
%patch -p 0
%__subst "s|libgtkhtml-3.0|libgtkhtml-3.1|g" configure
%__subst "s|gal-2.0|gal-2.2|g" configure
%build
%configure
%make
%install
%makeinstall
%__mv %buildroot%_bindir/%{name}2 %buildroot%_bindir/%name
mkdir -p $RPM_BUILD_ROOT%_menudir
cat << EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(%name): command="%_bindir/%name" \
icon="%name.png" \
longtitle="Bible Study Software for Linux and the Gnome Desktop" \
genericname="Bible study tool" \
title="Gnome Sword" \
needs="x11" \
section="Applications/Text tools"
EOF
mkdir -p $RPM_BUILD_ROOT/{%_liconsdir,%_miconsdir}
install pixmaps/gs2-48x48.png $RPM_BUILD_ROOT%_liconsdir/%name.png
convert -size 16x16 -resize 16x16 pixmaps/gs2-48x48.png %buildroot/%_miconsdir/%name.png
convert -size 32x32 -resize 32x32 pixmaps/gs2-48x48.png %buildroot/%_iconsdir/%name.png
%__rm -rf %buildroot/var/lib/scrollkeeper
%find_lang %name --with-gnome
# --all-name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog INSTALL NEWS README TODO
%_bindir/*
%_datadir/applications/gnomesword.desktop
%_datadir/pixmaps/*
%_iconsdir/%name.png
%_liconsdir/%name.png
%_miconsdir/%name.png
%_menudir/%name
%exclude %_defaultdocdir/%{name}
%changelog
…
Полный changelog можно просмотреть здесь