# hey Emacs, its -*- mode: rpm-spec; coding: cyrillic-cp1251; -*-
# $Id: synaptic,v 1.1 2003/04/28 11:30:54 svd Exp $

%define rel %nil

Name: synaptic
Version: 0.45
Release: alt1

Summary: Graphical front-end for APT
Summary(ru_RU.CP1251):    APT
Group: System/Configuration/Packaging
License: GPL
URL: http://savannah.nongnu.org/files/?group=synaptic

Source: http://savannah.nongnu.org/download/synaptic/synaptic.pkg/%version/%name-%version%rel.tar.gz
Source1: %name-ru.po
Source2: %name.ru.8

Patch1: synaptic-0.36-alt-state.patch

Requires: %{get_dep rpm}, %{get_dep libapt}

BuildPreReq: libapt-devel >= 0.5.4cnc9, libstdc++3.2-devel

# Automatically added by buildreq on Tue Oct 21 2003
BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++ glib2-devel libapt-devel libart_lgpl-devel libatk-devel libdb4.0-devel libexpat libglade2-devel libgtk+2-devel libpango-devel libpopt-devel librpm-devel libstdc++-devel libxml2-devel libzvt-devel pkgconfig zlib-devel

%description
Synaptic is a graphical front-end for APT (Advanced Package Tool).
It attempts to be a lot easier to use than other existing APT front-ends.

Instead of using trees to display packages, Synaptic is heavily based on a
powerful package filtering system. That greatly simplifies the interface
while giving a lot more flexibility to browse through very long package
lists.

%description -l ru_RU.CP1251
Synaptic -     APT (Advanced Package Tool).
    ,     APT.

      synaptic 
    .    
          
   .

%prep
%setup -q

%patch1 -p1

# installing own translation
#%%__install -p -m644 %SOURCE1 po/ru.po

%build
%__aclocal
%__autoheader
%__automake -a -c
%__autoconf
%add_optflags -fno-exceptions
%configure --with-zvt --with-pkg-hold
%make_build

%install
%make_install install DESTDIR=%buildroot
mkdir -p %buildroot%_mandir/ru_RU.KOI8-R/man8/
%__install -p -m644 %SOURCE2 %buildroot%_mandir/ru_RU.KOI8-R/man8/%name.8
%find_lang %name

%files -f %name.lang
%_sbindir/*
%_datadir/%name
%_mandir/man8/%name.8.*
%_mandir/ru_RU.KOI8-R/man8/%name.8.*
%doc README* TODO NEWS AUTHORS

%changelog
* Thu Oct 23 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.45-alt1
- 0.45
 + proxy can be configured with the gui now
 + new preferences dialog layout (thanks Sebastian Heinlein)
 + new filter dialog layout  (thanks Sebastian Heinlein)
 + when adding filter, they are called "New Filter 1", "New Filter 2"
    etc
 + added "search lack", so that the interactive search does not start
   immediately
 + new quit dialog
 + speedup for the pattern filters
 + small ui-enhancements in the filter dialog
 + basic support for distribution selection (if you have more than one
   distro in your sources.list, you can choose which to use by
   default)
 + new about dialog (thanks Sebastian)
 + support to choose between different versions of a given package
 + updated translations

* Wed Sep 24 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.44-alt1
- 0.44:
  + two alternative main layouts can be choosen now
  + "clean cache now" implemented" in preferences window
  + the search entry in the main window is interactive again 
  + much improved preferences dialog (thanks to Sebastian Heinlein)
  + new italian translation (thanks  Mauro Colorio and  Luigi Maselli)
  + updated spanish translation (thanks Fco. Javier Fernandez)
  + updated russian translation (thanks Sviatoslav Sviridov)
  + new belarussian translation (thanks Vital Khilko)
  + updated chinese translation (thanks liu jack)

* Thu Aug 21 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.43.1-alt1
- new in 0.43.1:
  + the descriptionParser for rpm has changed
    (the actuall parser is configurable now)
  + new find and changes dialog layout, more HIG compliant
    (thanks to Sebastian Heinlein)
  + more bugfixes in the PkgTreeView and the new sorting code
- new in 0.42:
  + download percentage is now always calculated correctly
    (thanks to David Wilson)
  + save selection on "pin", "update" and "proceed" now
  + some bugs fixed in the new sortable tree/list
  + the order of the columns in the treeview is configurable now
  + updated german translation (thanks to Sebastian Heinlein)
  + updated spanish translation (thanks to Javier Serrador)
  + updated japanese translation (thanks to Daisuke SUZUKI)
  + updated russian translation (thanks to Sviatoslav Sviridov)
  + [debian only] debian package tags support
  + sortable installed size column added
  + "Information" tab now scrollable
- updated russian translation
- added belarussian translation (thanks to Vital Khilko)

* Sat Aug 02 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.40-alt1
- 0.40
  + updated japanese translation
  + new status "Obsolete and locally installed" for status view
  + added depends and provides to the "Find tool" window
  + more predefined filters (new, residual config, debconf)
  + added "provides" tab
  + added "remove with dependencies" feature
  + default action for delete button can be configured
- updated russian translation

* Fri Jun 27 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.38-alt1
- 0.38
- updated russian translation

* Thu Jun 19 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.37-alt1
- 0.37
- updated russian translation

* Mon Apr 28 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.36.1-alt1
- 0.36.1
- disabled pkgDepCache::State support until apt-0.5.5cnc5 in Sisyphus

* Tue Apr 01 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.35.1-alt1
- 0.35.1

* Mon Mar 31 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.35-alt1
- 0.35

* Mon Mar 10 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.35-alt0.2
- SVN snapshot 2003-03-10

* Wed Feb 26 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.35-alt0.1
- SVN snapshot

* Tue Jan 28 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.32-alt2
- fixed work with buffer in rgsummarywindow.cc

* Mon Jan 27 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.32-alt1
- 0.32
  + bugfixes
  + translation updates
  + toolbar buttons can be configured now
- Updated BuildRequires

* Thu Jan 16 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.31-alt2
- Updated russian translation
- Fixed bug #1969:
  + Don't exit if failed to read cache files

* Tue Jan 14 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.31-alt1
- 0.31
- updated russian translation (thanks to Vitaly Lipatov)
- fixed segfault in cache operations

* Tue Jan 07 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.30-alt2
- build with libzvt support
- patch for using RGZvtInstallProgress
- updated BuildRequires
- updated russian translation

* Sat Jan 04 2003 Sviatoslav Sviridov <svd@altlinux.ru> 0.30-alt1
- 0.30
- utf8 patch from Anthony Fok <anthony@thizlinux.com>
- updated BuildRequires
- updated %%files section

* Thu Dec 05 2002 Dmitry V. Levin <ldv@altlinux.org> 0.28.1-alt2
- Removed all usermode stuff from this package.
- Fixed i18n support.

* Mon Dec 02 2002 Sviatoslav Sviridov <svd@altlinux.ru> 0.28.1-alt1
- 0.28.1
- applied patches for build with latest automake/autoconf tools

* Mon Nov 25 2002 Sviatoslav Sviridov <svd@altlinux.ru> 0.27-alt2
- fixed segfault in filter editor

* Thu Nov 21 2002 Sviatoslav Sviridov <svd@altlinux.ru> 0.27-alt1
- 0.27
- configure.in patch: use -ldb instead of -ldb-3.1 for find rpm
- requild for new apt-0.5 relase: 0.5.4cnc9
- updated BuildRequires
- added 'genericname' to menu file

* Wed Oct 16 2002 Sviatoslav Sviridov <svd@altlinux.ru> 0.25-alt1
- 0.25
- patch for gcc3.2

* Thu Oct 10 2002 AEN <aen@altlinux.ru> 0.16-alt4
- rebuilt with gcc3.2
- patch from Aleksey Dyachenko for gcc3.2

* Sat Aug 10 2002 Alexey Voinov <vns@altlinux.ru> 0.16-alt3
- rebuild with patched WINGs (fix bug #521)

* Wed Mar 27 2002 Dmitry V. Levin <ldv@alt-linux.org> 0.16-alt2
- Added librpm-4.0.4 build support.
- Built with librpm-4.0.4, updated buildrequires.

* Fri Nov 16 2001 Alexander Bokovoy <ab@altlinux.ru> 0.16-alt1
- 0.16 (nothing new, prepared for APT 0.5)

* Tue Nov 06 2001 Dmitry V. Levin <ldv@alt-linux.org> 0.15-alt7
- Initial build with rpm4.
- Moved usermode stuff to separate package.

* Thu Oct 11 2001 AEN <aen@logic.ru> 0.15-alt6
- rebuilt with libpng.so.3

* Thu Aug 09 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.15-alt5
- Corrected requires and buildrequires lists.
- Reworked compilation options again: we add only '-fno-exceptions' now.

* Wed Aug 08 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.15-alt4
- Added %optflags_nocpp to compilation options.
- Rebuilt with apt-0.3.19cnc52-alt2, corrected apt requires.

* Sun Aug 05 2001 Alexander Bokovoy <ab@altlinux.ru>   0.15-alt3
+ Fixed:
- wmsetbg >= 0.66 is required for proper function
- BuildRequires and Requires are refined

* Wed Jul 25 2001 Alexander Bokovoy <ab@altlinux.ru>   0.15-alt2
+ Fixed:
- group tag

* Tue Jul 24 2001 Alexander Bokovoy <ab@altlinux.ru>   0.15-alt1
+ synaptic-0.15
- Russian menus
- Requirements are refined for installation and build
- Userhelper support for Synaptic

* Tue Apr 10 2001 Alexander Bokovoy <ab@avilink.net>	0.8-alt1
+ Russian translation added
- First build for ALTLinux

* Wed Feb 14 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ synaptic-0.8-1cl
- first official release (closes: #1417)

* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ synaptic-0.7-1cl
- i18n
- pt_BR

* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ synaptic-0.6-1cl
- depends on apt cnc32

* Thu Jan 23 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ synaptic-0.5-1cl
- renamed from raptor to Synaptic

* Mon Jan 22 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ raptor-0.4-1cl

* Tue Jan 18 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ raptor-0.3-1cl

* Mon Jan 15 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
+ raptor-0.2-1cl
- release version 0.2 (first)

