yelp/yelp.spec

226 lines
6.8 KiB
RPMSpec
Raw Permalink Normal View History

%define libname lib%{name}
Name: yelp
Version: 3.20.1
Release: 1mamba
Summary: Gnome help viewer
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://live.gnome.org/Yelp
Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/%{majorminor}/yelp-%{version}.tar.xz
License: GPL
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libenchant-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgeoclue-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng14-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libwebkit-gtk3-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXcursor-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libxslt-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: libgeoclue-static
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: yelp-xsl-devel
Requires: gnome-doc-utils
Requires: yelp-xsl
Requires: man
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Yelp is the help viewer in Gnome.
Together with gnome-doc-utils, Yelp serves as a DocBook viewer, a man page viewer, and an info page viewer.
This page serves as a development workspace for Yelp and gnome-doc-utils.
For the content that goes into Yelp, see the GNOME DocumentationProject.
%package -n %{libname}
Summary: Shared libraries for %{name}
Group: System/Libraries
%description -n %{libname}
This package contains shared libraries for %{name}.
%package -n %{libname}-devel
Summary: Development files for %{libname}
Group: Development/Libraries
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-devel
This package contains libraries and header files for developing applications that use %{libname}.
%package -n %{libname}-apidocs
Summary: %{libname} API documentation
Group: Documentation
Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description -n %{libname}-apidocs
This package includes the %{libname} API documentation.
%prep
%setup -q
%build
%configure \
--disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete
install -d %{buildroot}%{_datadir}/gnome/help
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1 ||:
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1 ||:
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gnome-help
%{_bindir}/yelp
%{_datadir}/yelp
%dir %{_datadir}/gnome/help
%{_datadir}/glib-*/schemas/org.gnome.yelp.gschema.xml
%{_datadir}/applications/yelp.desktop
%{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libyelp.so.*
%dir %{_libdir}/yelp
#%{_libdir}/yelp/libyelpcommon.so
%dir %{_libdir}/yelp/web-extensions
%{_libdir}/yelp/web-extensions/libyelpwebextension.so
%doc AUTHORS COPYING
%files -n %{libname}-devel
%defattr(-,root,root)
%{_libdir}/libyelp.so
%{_includedir}/libyelp
%doc NEWS README ChangeLog
%files -n %{libname}-apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/libyelp
%changelog
* Fri May 20 2016 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
- automatic version update by autodist
* Tue Oct 27 2015 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
- automatic version update by autodist
* Mon Oct 12 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Thu Oct 16 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Fri Oct 03 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Mar 04 2014 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Tue Jul 03 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.4.2-1mamba
- update to 3.4.2
- added library, devel and apidocs packages
- spec cleaned
* Mon Jan 12 2009 gil <puntogil@libero.it> 2.24.0-1mamba
- package created by autospec