]> git.pld-linux.org Git - packages/yelp.git/blobdiff - yelp.spec
- updated to 3.38.2
[packages/yelp.git] / yelp.spec
index 0aeca2c00f67ad66b66f3af414583ae940571888..926d6379adc0e6a7c8928cb946c2d331fd515121 100644 (file)
--- a/yelp.spec
+++ b/yelp.spec
-# TODO:
-# move stylesheets to /usr/share/sgml
-# use more generic stylesheet location
-# remove docbook dtds and stylesheets from package and use system xml catalog
-Summary:       A system documentation reader from the Gnome project
-Summary(pl):   Czytnik dokumentacji z projektu GNOME
+Summary:       A system documentation reader from the GNOME project
+Summary(pl.UTF-8):     Czytnik dokumentacji z projektu GNOME
 Name:          yelp
-Version:       2.1.2
-Release:       5
-License:       GPL
+Version:       3.38.2
+Release:       1
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
-Patch0:                %{name}-pixmapsdir.patch
-#Patch1:               %{name}-pld.patch
-URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 1.2.1
-BuildRequires: ORBit2-devel >= 2.4.3
-BuildRequires: autoconf
-BuildRequires: automake
+Source0:       https://download.gnome.org/sources/yelp/3.38/%{name}-%{version}.tar.xz
+# Source0-md5: e36148a18c7e7203d69c9eab616cc096
+URL:           https://wiki.gnome.org/Apps/Yelp
+BuildRequires: appstream-glib-devel
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11.2
 BuildRequires: bzip2-devel
-BuildRequires: glib2-devel >= 2.0.6
-BuildRequires: gnome-vfs2-devel >= 2.1.3.1-3
-BuildRequires: libgnome-devel >= 2.0.4
-BuildRequires: libgnomeui-devel >= 2.0.5
-BuildRequires: libgtkhtml-devel >= 2.1.2
-BuildRequires: libxslt-devel >= 1.0.20
-BuildRequires: pkgconfig >= 0.12.0
-BuildRequires: rpm-build >= 4.1-8.2
-BuildRequires: Xft-devel >= 2.0-6
-Requires(post):        GConf2
+BuildRequires: gettext-tools >= 0.19.8
+BuildRequires: glib2-devel >= 1:2.38.0
+BuildRequires: gtk+3-devel >= 3.13.3
+BuildRequires: gtk-doc >= 1.13
+BuildRequires: gtk-webkit4-devel >= 2.20.0
+BuildRequires: itstool >= 1.2.0
+BuildRequires: libtool >= 2:2.2.6
+BuildRequires: libxml2-devel >= 1:2.6.31
+BuildRequires: libxslt-devel >= 1.1.22
+BuildRequires: pkgconfig >= 1:0.15.0
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: sqlite3-devel >= 3
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: xz-devel >= 1:4.9
+BuildRequires: yelp-xsl >= 3.28.0
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): glib2 >= 1:2.38.0
+Requires:      %{name}-libs = %{version}-%{release}
+Requires:      docbook-dtd412-xml
+Requires:      docbook-dtd42-xml
+Requires:      docbook-dtd43-xml
+Requires:      docbook-dtd44-xml
 Requires:      docbook-style-xsl >= 1.55.0
-Requires:      scrollkeeper
-Requires:      gnome-vfs2 >= 2.1.3.1-3
+Requires:      yelp-xsl >= 3.38.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Yelp is the Gnome 2 help/documentation browser. It is designed to help
-you browse all the documentation on your system in one central tool.
+Yelp is the default help browser for the GNOME desktop. Yelp provides
+a simple graphical interface for viewing DocBook, HTML, man, and info
+formatted documentation.
 
-%description -l pl
-Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
-przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
-narzêdziu.
+%description -l pl.UTF-8
+Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza
+prosty graficzny interfejs do oglądania dokumentacji w formatach
+DocBook, HTML, man i info.
+
+%package libs
+Summary:       yelp library
+Summary(pl.UTF-8):     Biblioteka yelp
+Group:         Libraries
+
+%description libs
+yelp library.
+
+%description libs -l pl.UTF-8
+Biblioteka yelp.
+
+%package devel
+Summary:       Header files for yelp library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki yelp
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+Requires:      glib2-devel >= 1:2.38.0
+Requires:      gtk+3-devel >= 3.13.3
+Requires:      gtk-webkit4-devel >= 2.20.0
+Requires:      libxml2-devel >= 1:2.6.31
+Requires:      libxslt-devel >= 1.1.22
+
+%description devel
+Header files for yelp library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki yelp.
+
+%package apidocs
+Summary:       yelp library API documentation
+Summary(pl.UTF-8):     Dokumentacja API biblioteki yelp
+Group:         Documentation
+Requires:      gtk-doc-common
+%{?noarchpackage}
+
+%description apidocs
+yelp library API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki yelp.
 
 %prep
-%setup  -q 
-%patch0 -p1
-#%patch1 -p1
+%setup -q
 
 %build
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__libtoolize}
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-silent-rules \
+       --disable-schemas-compile \
+       --disable-static \
+       --disable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
 
 %{__make} install \
-           DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-gnome --all-name
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post 
-%gconf_schema_install
+%post
+%update_desktop_database_post
+%glib_compile_schemas
+
+%postun
+%update_desktop_database_postun
+%glib_compile_schemas
+
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog NEWS TODO AUTHORS
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
-%{_datadir}/pixmaps/%{name}
-%{_datadir}/applications/*
-%{_libdir}/bonobo/servers/*
-%attr(755,root,root) %{_libdir}/%{name}-db2html
-%{_datadir}/sgml/docbook/%{name}
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/gnome-help
+%attr(755,root,root) %{_bindir}/yelp
+%{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
+%{_datadir}/metainfo/yelp.appdata.xml
+%{_datadir}/yelp
+%{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
+%{_desktopdir}/yelp.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Yelp.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
+%dir %{_libdir}/yelp
+%dir %{_libdir}/yelp/web-extensions
+%attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libyelp.so
+%{_includedir}/libyelp
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libyelp
This page took 0.030483 seconds and 4 git commands to generate.