SPECS (AC-branch): xfprint.spec - updated to 4.4.0, merged from HEAD

megabajt megabajt at pld-linux.org
Mon Jan 29 11:56:48 CET 2007


Author: megabajt                     Date: Mon Jan 29 10:56:48 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- updated to 4.4.0, merged from HEAD

---- Files affected:
SPECS:
   xfprint.spec (1.30.2.1 -> 1.30.2.2) 

---- Diffs:

================================================================
Index: SPECS/xfprint.spec
diff -u SPECS/xfprint.spec:1.30.2.1 SPECS/xfprint.spec:1.30.2.2
--- SPECS/xfprint.spec:1.30.2.1	Wed Jul  5 17:03:09 2006
+++ SPECS/xfprint.spec	Mon Jan 29 11:56:43 2007
@@ -2,33 +2,35 @@
 Summary:	Print dialog and printer manager for Xfce
 Summary(pl):	Okno dialogowe wydruku i zarządca drukarek dla Xfce
 Name:		xfprint
-Version:	4.2.3
+Version:	4.4.0
 Release:	1
-License:	BSD
+License:	GPL
 Group:		X11/Applications
-Source0:	http://hannelore.f1.fhtw-berlin.de/mirrors/xfce4/xfce-%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5:	64c983a6d7778cbd5d6c93ee1dbbd3f9
+Source0:	http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
+# Source0-md5:	4b6d8f5381e73e912abddf2fdbf9888f
 Patch0:		%{name}-locale-names.patch
 Patch1:		%{name}-lpr.patch
 URL:		http://www.xfce.org/
 BuildRequires:	a2ps-devel
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	cups-devel
 BuildRequires:	gettext-devel
-BuildRequires:	glib2-devel >= 2.2.0
+BuildRequires:	gtk+2-devel >= 2:2.8.20
+BuildRequires:	gtk-doc >= 1.6
 BuildRequires:	intltool
 BuildRequires:	libtool
-BuildRequires:	libxfce4mcs-devel >= 4.2.0
-BuildRequires:	libxfcegui4-devel >= 4.2.0
+BuildRequires:	libxfce4mcs-devel >= %{version}
+BuildRequires:	libxfcegui4-devel >= %{version}
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig >= 1:0.9.0
-BuildRequires:	xfce-mcs-manager-devel >= 4.2.0
-BuildRequires:	xfce4-dev-tools
+BuildRequires:	rpmbuild(macros) >= 1.311
+BuildRequires:	xfce-mcs-manager-devel >= %{version}
+BuildRequires:	xfce4-dev-tools >= %{version}
+Requires(post,postun):	gtk+2
+Requires(post,postun):	hicolor-icon-theme
 Requires:	%{name}-print-backend = %{version}-%{release}
 Requires:	a2ps
-Requires:	glib2 >= 2.2.0
-Requires:	libxfcegui4 >= 4.2.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,6 +41,18 @@
 Xfprint zawiera okno dialogowe wydruku i zarządcę drukarek dla
 środowiska Xfce.
 
+%package apidocs
+Summary:	xfprint API documentation
+Summary(pl):	Dokumentacja API xfprint
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+xfprint API documentation.
+
+%description apidocs -l pl
+Dokumentacja API xfprint.
+
 %package cups
 Summary:	CUPS plugin for xfprint
 Summary(pl):	Wtyczka CUPS dla xfprint
@@ -63,12 +77,24 @@
 Provides:	%{name}-print-backend = %{version}-%{release}
 
 %description bsdlpr
-This package contains plugin for xfprint allowing to use old bsd
-style printing system through lpr program.
+This package contains plugin for xfprint allowing to use old bsd style
+printing system through lpr program.
 
 %description bsdlpr -l pl
-Paczka ta zawiera wtyczkę dla xfprint, która umożliwia drukowanie
-w stylu bsd poprzez program lpr.
+Paczka ta zawiera wtyczkę dla xfprint, która umożliwia drukowanie w
+stylu bsd poprzez program lpr.
+
+%package devel
+Summary:	Headers files for the xfprint library
+Summary(pl):	Pliki nagłówkowe biblioteki xfprint
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for the xfprint library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki xfprint.
 
 %prep
 %setup -q
@@ -78,17 +104,19 @@
 mv -f po/{pt_PT,pt}.po
 
 %build
-%{__intltoolize}
 %{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I %{_datadir}/xfce4/dev-tools/m4macros
+%{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
 	--disable-static \
 	--enable-cups \
-	--enable-bsdlpr
+	--enable-bsdlpr \
+	--enable-gtk-doc \
+	--with-html-dir=%{_gtkdocdir}
 
 %{__make}
 
@@ -107,19 +135,29 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%update_icon_cache hicolor
+
+%postun
+/sbin/ldconfig
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog README
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libxfprint.so.*.*.*
 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
-%{_iconsdir}/hicolor/*/*/*
-%{_desktopdir}/*
+%dir %{_libdir}/xfce4/xfprint-plugins
+%{_desktopdir}/*.desktop
 %{_datadir}/xfce4/doc/C/*
 %lang(fr) %{_datadir}/xfce4/doc/fr/*
-%lang(he) %{_datadir}/xfce4/doc/he/*
+%{_iconsdir}/hicolor/*/devices/*
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libxfprint
 
 %files cups
 %defattr(644,root,root,755)
@@ -129,12 +167,33 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/xfce4/xfprint-plugins/bsdlpr_plugin.so
 
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libxfprint.so
+%{_includedir}/xfce4/libxfprint
+%{_libdir}/libxfprint.la
+%{_pkgconfigdir}/xfprint-1.0.pc
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30.2.2  2007/01/29 10:56:43  megabajt
+- updated to 4.4.0, merged from HEAD
+
+Revision 1.36  2007/01/22 18:07:01  megabajt
+- updated to 4.4.0
+- added apidocs subpackage
+
+Revision 1.35  2006/11/24 15:44:46  megabajt
+- updated to 4.3.99.2 (Xfce 4.4RC2)
+- added devel subpackage
+
+Revision 1.34  2006/11/07 22:31:36  glen
+- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
+
 Revision 1.30.2.1  2006/07/05 15:03:09  havner
 - 4.2.3, HEAD merge
 - intltoolize before glib_gettextize
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xfprint.spec?r1=1.30.2.1&r2=1.30.2.2&f=u



More information about the pld-cvs-commit mailing list