Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37507423
en ru br
Репозитории ALT
5.1: 0.99.9-alt7.1
4.1: 0.99.9-alt7
4.0: 0.99.9-alt6.1
3.0: 0.99.7-alt3
www.altlinux.org/Changes

Группа :: Коммуникации
Пакет: jpilot

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

# -*- rpm-spec -*-

Name: jpilot
Summary: Palm pilot desktop for Linux
Summary(ru_RU.KOI8-R): Palm pilot desktop для Linux
Version: 0.99.7
Release: alt3
License: GPL
Group: Communications
Url: http://www.jpilot.org
Source: http://wwww.jpilot.org/snapshot/%name-%{version}.tar.bz2
Source1: jpilot-icons.tar.bz2
Source2: jpilot-ru.po
Requires: pilot-link >= 0.11.5

Patch0: %name-0.99.7-alt-fixes.patch
Patch1: %name-0.99.7-1-alt-fixes.patch
Patch2: %name-0.99.7-alt-gettext.patch

# Automatically added by buildreq on Mon Dec 13 2004

# BuildRequires: gcc-c++ gcc-g77 glib-devel glib2-devel gtk+-devel intltool libpilot-link-devel libssl-devel libstdc++-devel perl-XML-Parser xorg-x11-devel xorg-x11-libs
BuildRequires: XFree86-devel XFree86-libs gcc-c++ gcc-g77 glib-devel glib2-devel gtk+-devel intltool libpilot-link-devel libssl-devel libstdc++-devel perl-XML-Parser

%description
J-Pilot is a desktop organizer application for the palm pilot that runs
under Linux and UNIX.  It is similar in functionality to the one that 3com
distributes for a well known rampant legacy operating system.

%description -l ru_RU.KOI8-R
J-Pilot - настольное приложение для Palm pilot, которое работает под Linux и UNIX.
Его функциональность похожа на оригинальную версию, которую 3com распространяет для
хорошо известной операционной системы.

%package plugins-devel
Summary: Library and header file needed for jpilot plugin development
Group: Communications
Requires: %name = %version-%release

%description plugins-devel
J-Pilot is a desktop organizer application for the palm pilot that runs
under Linux and UNIX.  It is similar in functionality to the one that 3com
distributes for a well known rampant legacy operating system.

The library and header file required for plugin development

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %SOURCE2 po/ru.po

%build
NOCONFIGURE=1 ./autogen.sh
%configure
%make_build

%install
%__install -d %buildroot/{%_mandir/man1,%_bindir}
%makeinstall

%__install -d html
%__install docs/*.html docs/*.png html

%__install -d %buildroot%_datadir/%name
%__install jpilotrc.* %buildroot%_datadir/%name
%__install empty/*.pdb %buildroot%_datadir/%name

install -m 644 {libplugin,prefs}.h %buildroot%_libdir/jpilot/plugins/

install -d %buildroot/%_iconsdir
tar xvjf %SOURCE1 -C %buildroot/%_iconsdir

mkdir -p %buildroot%_libdir/menu/
cat << EOF > %buildroot%_libdir/menu/%name
?package(jpilot): \
 needs=x11\
 section=Office/PDA\
 title=J-Pilot\
 longtitle="A tools for your palm pilot"\
 icon=jpilot.xpm\
 command=jpilot
EOF

# Fix jpilot doc bug

%__rm -rf %buildroot/usr/doc

rm -f %buildroot%_libdir/%name/plugins/*.la

%find_lang %name

%post
%update_menus
%post_ldconfig

%postun
%clean_menus
%postun_ldconfig

%files -f %name.lang
%doc AUTHORS BUGS ChangeLog INSTALL README TODO UPGRADING html
%_bindir/*
%_datadir/jpilot/jpilotrc.*
%_datadir/jpilot/*.pdb
%_datadir/icons/*xpm
%_datadir/icons/*/*xpm
%dir %_datadir/jpilot
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/%name/plugins/*.so*
%_libdir/menu/jpilot
%_mandir/man1/*

%files plugins-devel
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/jpilot/plugins/libplugin.h
%_libdir/jpilot/plugins/prefs.h

%changelog

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

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