SPECS: libxfcegui4.spec - updated to 4.4.0 - added apidocs subpackage

megabajt megabajt at pld-linux.org
Sun Jan 21 20:05:22 CET 2007


Author: megabajt                     Date: Sun Jan 21 19:05:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.4.0
- added apidocs subpackage

---- Files affected:
SPECS:
   libxfcegui4.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/libxfcegui4.spec
diff -u SPECS/libxfcegui4.spec:1.55 SPECS/libxfcegui4.spec:1.56
--- SPECS/libxfcegui4.spec:1.55	Sun Nov  5 19:26:30 2006
+++ SPECS/libxfcegui4.spec	Sun Jan 21 20:05:17 2007
@@ -6,7 +6,7 @@
 Summary:	Various GTK+ widgets for Xfce
 Summary(pl):	Różne widgety GTK+ dla Xfce
 Name:		libxfcegui4
-Version:	4.3.99.2
+Version:	4.4.0
 Release:	1
 License:	LGPL v2
 Group:		Libraries
@@ -17,17 +17,17 @@
 BuildRequires:	automake
 BuildRequires:	dbh-devel >= 1.0
 BuildRequires:	gettext-devel
-BuildRequires:	gtk-doc-automake
 BuildRequires:	gtk+2-devel >= 2:2.10.6
+BuildRequires:	gtk-doc-automake
 BuildRequires:	libtool
 BuildRequires:	libxfce4util-devel >= %{version}
 BuildRequires:	libxml2-devel >= 1:2.6.27
 BuildRequires:	pkgconfig >= 1:0.9.0
-BuildRequires:	rpmbuild(macros) >= 1.98
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	startup-notification-devel >= 0.8
 BuildRequires:	xfce4-dev-tools >= %{version}
-Requires:	gtk+2 >= 2:2.10.6
-Requires:	libxfce4util >= %{version}
+Requires(post,postun):	gtk+2
+Requires(post,postun):	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,13 +36,24 @@
 %description -l pl
 Różne widgety GTK+ dla Xfce.
 
+%package apidocs
+Summary:	libxfcegui4 API documentation
+Summary(pl):	Dokumentacja API libxfcegui4
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+libxfcegui4 API documentation.
+
+%description apidocs -l pl
+Dokumentacja API libxfcegui4.
+
 %package devel
 Summary:	Development files for libxfcegui4 library
 Summary(pl):	Pliki nagłówkowe biblioteki libxfcegui4
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	gtk+2-devel >= 2:2.10.6
-Requires:	gtk-doc-common
 Requires:	libxfce4util-devel >= %{version}
 Requires:	startup-notification-devel >= 0.8
 
@@ -53,16 +64,16 @@
 Pliki nagłówkowe biblioteki libxfcegui4.
 
 %package static
-Summary:	Static libxfce4util library
-Summary(pl):	Statyczna biblioteka libxfce4util
+Summary:	Static libxfcegui4 library
+Summary(pl):	Statyczna biblioteka libxfcegui4
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Static libxfce4util library.
+Static libxfcegui4 library.
 
 %description static -l pl
-Statyczna biblioteka libxfce4util.
+Statyczna biblioteka libxfcegui4.
 
 %prep
 %setup -q
@@ -74,6 +85,7 @@
 %{__automake}
 %{__autoconf}
 %configure \
+	--enable-gtkdoc \
 	--enable-xinerama \
 	--enable-startup-notification \
 	--with-html-dir=%{_gtkdocdir} \
@@ -86,9 +98,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# modules loaded through gmodule
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.{la,a}
-
 # assume bn==bn_IN as no translation for bn_BD appeared till now
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/bn{_IN,}
 
@@ -97,34 +106,36 @@
 %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 ChangeLog
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-#%dir %{_libdir}/xfce4
-#%dir %{_libdir}/xfce4/modules
-# why -avoid-version only on Cygwin?
-#%attr(755,root,root) %{_libdir}/xfce4/modules/lib*.so*
-#%{_datadir}/xfce4/mime
-#%{_datadir}/xfce4/hicolor-index.theme
-%{_datadir}/xfce4/xfce-svg-test.svg
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libxfcegui4.so.*.*.*
+%{_iconsdir}/hicolor/*/apps/*.png
+%{_iconsdir}/hicolor/*/apps/*.svg
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libxfcegui4.so
+%{_libdir}/libxfcegui4.la
 %{_includedir}/xfce4/libxfcegui4
-#%{_includedir}/xfce4/xfce4-modules
 %{_pkgconfigdir}/*.pc
-#%{_gtkdocdir}/libxfcegui4
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libxfcegui4.a
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -133,6 +144,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2007/01/21 19:05:17  megabajt
+- updated to 4.4.0
+- added apidocs subpackage
+
 Revision 1.55  2006/11/05 18:26:30  megabajt
 - up to 4.3.99.2 (Xfce 4.4RC2)
 - updated deps
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libxfcegui4.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list