SPECS: synaptic.spec - up to 0.57.2 (spec rewritten)

glen glen at pld-linux.org
Mon Mar 13 07:52:57 CET 2006


Author: glen                         Date: Mon Mar 13 06:52:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.57.2 (spec rewritten)

---- Files affected:
SPECS:
   synaptic.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/synaptic.spec
diff -u SPECS/synaptic.spec:1.9 SPECS/synaptic.spec:1.10
--- SPECS/synaptic.spec:1.9	Fri Dec 23 23:14:28 2005
+++ SPECS/synaptic.spec	Mon Mar 13 07:52:52 2006
@@ -1,79 +1,67 @@
 # $Revision$, $Date$
-Summary:	WINGs based graphical front-end for APT
-Summary(es):	Front-end grafico para APT
-Summary(pl):	Bazujący na WING graficzny interfejs do APTa
-Summary(pt_BR):	Front-end gráfico para APT baseado em WINGs
+#
+# Conditional build:
+%bcond_without	doc	# build documentation
+#
+Summary:	Graphical package management program for apt
 Name:		synaptic
-Version:	0.16
-Release:	1
+Version:	0.57.2
+Release:	0.3
 License:	GPL
 Group:		Applications/Archiving
-Source0:	ftp://ftp.conectiva.com/pub/conectiva/EXPERIMENTAL/synaptic/%{name}-%{version}.tar.gz
-# Source0-md5:	78855fe7940dc580116d1ed16800b809
-URL:		http://distro.conectiva.com/projetos/46/
-BuildRequires:	WindowMaker-devel >= 0.65.0
+Source0:	http://download.savannah.nongnu.org/releases/synaptic/%{name}-%{version}.tar.gz
+# Source0-md5:	dd753e953caa053279d342e3bc269128
+URL:		http://www.nongnu.org/synaptic/
 BuildRequires:	XFree86-devel
-BuildRequires:	apt-devel >= 0.3.19cnc36
+BuildRequires:	apt-devel >= 0.5.5
+BuildRequires:	atk-devel
+BuildRequires:	glib2-devel
+BuildRequires:	gtk+2-devel
+BuildRequires:	libart_lgpl-devel
+BuildRequires:	libglade2-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	libxml2-devel
+BuildRequires:	libzvt-devel
+BuildRequires:	pango-devel
+BuildRequires:	pkgconfig
+BuildRequires:	rpm-devel >= 4.1
+BuildRequires:	scrollkeeper
+%{?with_doc:BuildRequires:	xmlto}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
-Synaptic is a graphical front-end for APT (Advanced Package Tool)
-written with the Window Maker toolkit. 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 es
-Synaptic is a graphical front-end for APT (Advanced Package Tool)
-written with the Window Maker toolkit. 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 pl
-Synaptic jest graficznym frontendem dla APT napisany z użyciem
-toolkita WindowMakera. Synaptic próbuje być łatwiejszym w użyciu niż
-inne istniejące frontendy dla APT.
-
-Zamiast używając drzew do wyświetlania pakietów, Synaptic mocno bazuje
-na systemie filtrowania pakietów o ogromnych możliwościach. To w
-ogromnym stopniu upraszcza interfejs równocześnie dając znacznie
-większą elastyczność podczas przeglądania długich list pakietów.
-
-%description -l pt_BR
-Synaptic é um front-end gráfico para o APT (Advanced Package Tool)
-escrito com o toolkit do Window Maker. Seu objetivo é ser mais fácil
-de usar que outros front-ends do APT.
-
-Em vez de utilizar estruturas em árvore para mostrar os pacotes,
-Synaptic utiliza um sistema de filtro de pacotes, simplificando a
-interface e oferecendo mais flexibilidade quando houver um grande
-numero de pacotes listado.
+Synaptic is a graphical package management program for apt. It
+provides the same features as the apt-get command line utility with a
+GUI front-end based on Gtk+.
+
+Features:
+- Install, remove, upgrade and downgrade single and multiple packages.
+- Upgrade your whole system.
+- Manage package repositories (sources.list).
+- Find packages by name, description and several other attributes.
+- Select packages by status, section, name or a custom filter.
+- Sort packages by name, status, size or version.
+- Browse all available online documentation related to a package.
+- Download the latest changelog of a package.
+- Lock packages to the current version.
+- Force the installation of a specifc package version.
+- Undo/Redo of selections.
+- Built-in terminal emulator for the package manager.
+- Debian only: Configure packages through the debconf system.
 
 %prep
 %setup -q
 
 %build
-%configure2_13
+%configure \
+  --with-zvt \
+  %{?with_doc:--enable-docdir=%{_defaultdocdir}}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
-install -D src/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
-install -D help.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/help.txt
-install -D %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
-cd po
 %{__make} install \
-	prefix=$RPM_BUILD_ROOT%{_prefix}
-cd ..
+	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
@@ -82,12 +70,21 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS INSTALL NEWS README TODO %{name}-hackers-guide.txt
-%attr(755,root,root) %{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/help.txt
-%{_localstatedir}/lib/%{name}
+%doc AUTHORS INSTALL NEWS README TODO
+/etc/X11/sysconfig/synaptic.desktop
+%attr(755,root,root) %{_sbindir}/synaptic
+%{_desktopdir}/synaptic-kde.desktop
+%{_desktopdir}/synaptic.desktop
+%dir %{_datadir}/gnome/help/synaptic
+%{_datadir}/gnome/help/synaptic/C
+%lang(es) %{_datadir}/gnome/help/synaptic/es
+%{_mandir}/man8/synaptic.8*
+%{_datadir}/omf/synaptic/synaptic-C.omf
+%lang(es) %{_datadir}/omf/synaptic/synaptic-es.omf
+%{_pixmapsdir}/synaptic.png
+%{_datadir}/synaptic/glade
+%{_datadir}/synaptic/html
+%{_datadir}/synaptic/pixmaps
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -95,11 +92,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/03/13 06:52:52  glen
+- up to 0.57.2 (spec rewritten)
+
 Revision 1.9  2005/12/23 22:14:28  darekr
 - sort BRs
 
 Revision 1.8  2005/03/24 14:44:00  darekr
-- killed "-m 755" from %%install
+- killed "-m 755" from %install
 - missing dir
 
 Revision 1.7  2003/05/28 13:02:08  malekith
@@ -115,7 +115,7 @@
 - removed two lines with define
 
 Revision 1.3  2002/11/30 23:00:28  juandon
-- new %%doc
+- new %doc
 
 Revision 1.2  2002/03/19 08:54:45  qboosh
 - sorted translations, cosmetics
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/synaptic.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list