Author: patrys                       Date: Wed May 14 11:20:08 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- 2.23.2

---- Files affected:
SPECS:
   eog.spec (1.113 -> 1.113.2.1) 

---- Diffs:

================================================================
Index: SPECS/eog.spec
diff -u SPECS/eog.spec:1.113 SPECS/eog.spec:1.113.2.1
--- SPECS/eog.spec:1.113        Fri Apr 11 21:49:46 2008
+++ SPECS/eog.spec      Wed May 14 13:20:03 2008
@@ -1,14 +1,15 @@
 # $Revision$, $Date$
+%bcond_without apidocs         # disable API documentation
 Summary:       The Eye of GNOME image viewer
 Summary(pl.UTF-8):     Oko GNOME - przeglądarka obrazków
 Summary(pt_BR.UTF-8):  Visualizador de imagem Eye of GNOME
 Name:          eog
-Version:       2.22.1
+Version:       2.23.2
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       
http://ftp.gnome.org/pub/GNOME/sources/eog/2.22/%{name}-%{version}.tar.bz2
-# Source0-md5: ca40ada77bda9b396809e08782f5d718
+Source0:       
http://ftp.gnome.org/pub/GNOME/sources/eog/2.23/%{name}-%{version}.tar.bz2
+# Source0-md5: 858b3f68804dd77512cd9ec37734d354
 Patch0:                %{name}-codegen.patch
 Patch1:                %{name}-desktop.patch
 URL:           http://www.gnome.org/projects/eog/
@@ -23,6 +24,7 @@
 BuildRequires: gnome-doc-utils >= 0.12.0
 BuildRequires: gnome-icon-theme >= 2.20.0
 BuildRequires: gnome-vfs2-devel >= 2.22.0
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.8}
 BuildRequires: gtk+2-devel >= 2:2.12.5
 BuildRequires: intltool >= 0.37.0
 BuildRequires: lcms-devel
@@ -75,6 +77,18 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe eog.
 
+%package apidocs
+Summary:       Eye of GNOME API documentation
+Summary(pl.UTF-8):     Dokumentacja API Eye of GNOME
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+Eye of GNOME API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API Eye of GNOME.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -84,6 +98,7 @@
 mv po/[EMAIL PROTECTED],latin}.po
 
 %build
+%{?with_apidocs:%{__gtkdocize}}
 %{__gnome_doc_common}
 %{__libtoolize}
 %{__intltoolize}
@@ -92,8 +107,10 @@
 %{__autoheader}
 %{__autoconf}
 %configure \
+       --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
        --disable-schemas-install \
-       --disable-scrollkeeper
+       --disable-scrollkeeper \
+       --with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
@@ -129,6 +146,15 @@
 %{_sysconfdir}/gconf/schemas/eog.schemas
 %{_datadir}/%{name}
 %{_desktopdir}/eog.desktop
+%dir %{_libdir}/eog
+%dir %{_libdir}/eog/plugins
+# buggy soname generation, uses .so.0.0.0
+%{_libdir}/eog/plugins/fullscreen.eog-plugin
+%attr(755,root,root) %{_libdir}/eog/plugins/libfullscreen.so*
+%{_libdir}/eog/plugins/reload.eog-plugin
+%attr(755,root,root) %{_libdir}/eog/plugins/libreload.so*
+%{_libdir}/eog/plugins/statusbar-date.eog-plugin
+%attr(755,root,root) %{_libdir}/eog/plugins/libstatusbar-date.so*
 %{_iconsdir}/hicolor/*/*/*
 
 %files devel
@@ -136,12 +162,21 @@
 %{_includedir}/eog-2.20
 %{_pkgconfigdir}/eog.pc
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/eog
+%endif
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113.2.1  2008-05-14 11:20:03  patrys
+- 2.23.2
+
 Revision 1.113  2008-04-11 19:49:46  sls
 - ver. 2.22.1
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/eog.spec?r1=1.113&r2=1.113.2.1&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to