Репозитории 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 |
Группа :: Коммуникации
Пакет: 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.9
Release: alt7.1
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: Communications
Url: http://www.jpilot.org
Source: %name-%{version}.tar
Source1: jpilot-icons.tar
Source2: jpilot-ru.po
Source3: mkinstalldirs
Requires: pilot-link >= 0.12.1-alt1
Patch0: jpilot-0.99.8-alt-fixes.patch
Patch1: jpilot-0.99.8-1-alt-fixes.patch
#Patch2: %name-0.99.8-alt-gettext.patch
Patch2: jpilot-0.99.9pre2-alt-gettext.patch
Patch3: jpilot-0.99.8-sync.patch
Patch4: jpilot-0.99.9-keyring.patch
#Patch5: jpilot-0.99.9-keyring-br.patch
Patch6: jpilot-0.99.9-configure-lib64.patch
BuildRequires: libpilot-link-devel >= 0.12.1-alt1
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel intltool libatk-devel
BuildRequires: libcairo-devel libg2c-devel libgtk+2-devel libpango-devel
BuildRequires: libssl-devel libstdc++-devel perl-XML-Parser pkgconfig
%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
#%patch3 -p0
%patch4 -p0
#%patch5 -p0
%patch6 -p1
cp %SOURCE2 po/ru.po
cp %SOURCE3 .
chmod +x mkinstalldirs
%build
NOCONFIGURE=1 ./autogen.sh
export ABILIB=%_lib
%configure \
--enable-stock-buttons \
--libdir=%_libdir/jpilot
%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 xvf %SOURCE1 -C %buildroot/%_iconsdir
mkdir -p %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%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 html
%_bindir/*
%_datadir/jpilot/jpilotrc.*
%_datadir/jpilot/*.pdb
%_datadir/icons/*xpm
%_datadir/icons/*/*xpm
%_datadir/applications/*
%dir %_datadir/jpilot
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/%name/plugins/*.so*
%_menudir/jpilot
%_mandir/man1/*
%_datadir/doc/%name-%version
%files plugins-devel
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/jpilot/plugins/libplugin.h
%_libdir/jpilot/plugins/prefs.h
%changelog
…
Полный changelog можно просмотреть здесь
Name: jpilot
Summary: Palm pilot desktop for Linux
Summary(ru_RU.KOI8-R): Palm pilot desktop для Linux
Version: 0.99.9
Release: alt7.1
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: Communications
Url: http://www.jpilot.org
Source: %name-%{version}.tar
Source1: jpilot-icons.tar
Source2: jpilot-ru.po
Source3: mkinstalldirs
Requires: pilot-link >= 0.12.1-alt1
Patch0: jpilot-0.99.8-alt-fixes.patch
Patch1: jpilot-0.99.8-1-alt-fixes.patch
#Patch2: %name-0.99.8-alt-gettext.patch
Patch2: jpilot-0.99.9pre2-alt-gettext.patch
Patch3: jpilot-0.99.8-sync.patch
Patch4: jpilot-0.99.9-keyring.patch
#Patch5: jpilot-0.99.9-keyring-br.patch
Patch6: jpilot-0.99.9-configure-lib64.patch
BuildRequires: libpilot-link-devel >= 0.12.1-alt1
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel intltool libatk-devel
BuildRequires: libcairo-devel libg2c-devel libgtk+2-devel libpango-devel
BuildRequires: libssl-devel libstdc++-devel perl-XML-Parser pkgconfig
%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
#%patch3 -p0
%patch4 -p0
#%patch5 -p0
%patch6 -p1
cp %SOURCE2 po/ru.po
cp %SOURCE3 .
chmod +x mkinstalldirs
%build
NOCONFIGURE=1 ./autogen.sh
export ABILIB=%_lib
%configure \
--enable-stock-buttons \
--libdir=%_libdir/jpilot
%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 xvf %SOURCE1 -C %buildroot/%_iconsdir
mkdir -p %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%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 html
%_bindir/*
%_datadir/jpilot/jpilotrc.*
%_datadir/jpilot/*.pdb
%_datadir/icons/*xpm
%_datadir/icons/*/*xpm
%_datadir/applications/*
%dir %_datadir/jpilot
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/%name/plugins/*.so*
%_menudir/jpilot
%_mandir/man1/*
%_datadir/doc/%name-%version
%files plugins-devel
%dir %_libdir/%name
%dir %_libdir/%name/plugins
%_libdir/jpilot/plugins/libplugin.h
%_libdir/jpilot/plugins/prefs.h
%changelog
…
Полный changelog можно просмотреть здесь