gimp-help/gimp-help.spec

422 lines
11 KiB
RPMSpec
Raw Permalink Normal View History

%define api_version 2.0
Name: gimp-help
Version: 2.8.1
Epoch: 1
Release: 1mamba
Summary: The GIMP help for use with the internal GIMP help browser and more
Group: Documentation
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gimp.org
Source0: ftp://ftp.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2
Patch0: %{name}-2.6.1-autogen.sh.patch
Patch1: %{name}-2.6.1-missing_from_git.patch
Patch2: %{name}-2.8.0-fix_missing_ca_quickreference.patch
License: GPL
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: libgsf-devel
BuildRequires: libcroco-devel
BuildRequires: libgail-devel
BuildRequires: perl
# build requirements for gimp-help
BuildRequires: libxslt-devel
BuildRequires: ImageMagick
BuildRequires: /usr/bin/xmllint
BuildRequires: /usr/bin/xsltproc
BuildRequires: gnome-doc-utils
BuildRequires: docbook-dtds
BuildRequires: docbook-xsl
BuildRequires: make381
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
#
#checking for dblatex... no
#configure: WARNING: cannot find dblatex(1), PDF generation disabled
#checking for docbook2odf... no
#configure: WARNING: cannot find docbook2odf(1), ODF generation disabled
%description
The GIMP help for use with the internal GIMP help browser and more.
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
%build
%configure --without-gimp
make html
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot}
#install -D -m 755 data/misc/gimp.desktop \
# %{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%package i18n-ca
Summary: Catalan help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-ca
Catalan help files for Gimp.
%files i18n-ca
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ca
%{_datadir}/gimp/%{api_version}/help/ca/*
%package i18n-cs
Summary: Czech help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-cs
Obsoletes: gimp-help-cs
%description i18n-cs
Czech help files for Gimp.
#%files help-cs
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/cs
#%{_datadir}/gimp/%{api_version}/help/cs/*
%package i18n-da
Summary: Danish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-da
Danish help files for Gimp.
%files i18n-da
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/da
%{_datadir}/gimp/%{api_version}/help/da/*
%package i18n-de
Summary: German help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-de
Obsoletes: gimp-help-de
%description i18n-de
German help files for Gimp.
%files i18n-de
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/de
%{_datadir}/gimp/%{api_version}/help/de/*
%package i18n-el
Summary: Greek help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-el
Greek help files for Gimp.
%files i18n-el
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/el
%{_datadir}/gimp/%{api_version}/help/el/*
%package i18n-en
Summary: English help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-en
Obsoletes: gimp-help-en
%description i18n-en
English help files for Gimp.
%files i18n-en
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/en
%{_datadir}/gimp/%{api_version}/help/en/*
%package i18n-en_GB
Summary: British English help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-en_GB
British English help files for Gimp.
%files i18n-en_GB
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/en_GB
%{_datadir}/gimp/%{api_version}/help/en_GB/*
%package i18n-es
Summary: Spanish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-es
Obsoletes: gimp-help-es
%description i18n-es
Spanish help files for Gimp.
%files i18n-es
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/es
%{_datadir}/gimp/%{api_version}/help/es/*
%package i18n-fi
Summary: Finnish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-fi
Finnish help files for Gimp.
#%files i18n-fi
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/fi
#%{_datadir}/gimp/%{api_version}/help/fi/*
%package i18n-fr
Summary: French help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-fr
Obsoletes: gimp-help-fr
%description i18n-fr
French help files for Gimp.
%files i18n-fr
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/fr
%{_datadir}/gimp/%{api_version}/help/fr/*
%package i18n-hr
Summary: Croatian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-hr
Obsoletes: gimp-help-hr
%description i18n-hr
Croatian help files for Gimp.
#%files i18n-hr
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/hr
#%{_datadir}/gimp/%{api_version}/help/hr/*
%package i18n-it
Summary: Italian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-it
Obsoletes: gimp-help-it
%description i18n-it
Italian help files for Gimp.
%files i18n-it
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/it
%{_datadir}/gimp/%{api_version}/help/it/*
%package i18n-ja
Summary: Japanese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ja
Obsoletes: gimp-help-ja
%description i18n-ja
Japanese help files for Gimp.
%files i18n-ja
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ja
%{_datadir}/gimp/%{api_version}/help/ja/*
%package i18n-ko
Summary: Korean help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ko
Obsoletes: gimp-help-ko
%description i18n-ko
Korean help files for Gimp.
%files i18n-ko
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ko
%{_datadir}/gimp/%{api_version}/help/ko/*
%package i18n-lt
Summary: Lithuanian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-lt
Lithuanian help files for Gimp.
#%files i18n-lt
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/lt
#%{_datadir}/gimp/%{api_version}/help/lt/*
%package i18n-nl
Summary: Dutch help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-nl
Obsoletes: gimp-help-nl
%description i18n-nl
Dutch help files for Gimp.
%files i18n-nl
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/nl
%{_datadir}/gimp/%{api_version}/help/nl/*
%package i18n-nn
Summary: Norwegian Nynorsk help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-no
Obsoletes: gimp-help-no
Provides: gimp-help-i18n-no
Obsoletes: gimp-help-i18n-no
%description i18n-nn
Norwegian Nynorsk help files for Gimp.
%files i18n-nn
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/nn
%{_datadir}/gimp/%{api_version}/help/nn/*
%package i18n-pl
Summary: Polish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-pl
Obsoletes: gimp-help-pl
%description i18n-pl
Polish help files for Gimp.
#%files i18n-pl
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/pl
#%{_datadir}/gimp/%{api_version}/help/pl/*
%package i18n-pt_BR
Summary: Brazil Portuguese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-pt_BR
Brazil Portuguese help files for Gimp.
%files i18n-pt_BR
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/pt_BR
%{_datadir}/gimp/%{api_version}/help/pt_BR/*
%package i18n-ru
Summary: Russian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ru
Obsoletes: gimp-help-ru
%description i18n-ru
Russian help files for Gimp.
%files i18n-ru
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ru
%{_datadir}/gimp/%{api_version}/help/ru/*
%package i18n-sl
Summary: Slovenian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-sl
Slovenian help files for Gimp.
%files i18n-sl
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/sl
%{_datadir}/gimp/%{api_version}/help/sl/*
%package i18n-sv
Summary: Swedish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-sv
Obsoletes: gimp-help-sv
%description i18n-sv
Swedish help files for Gimp.
%files i18n-sv
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/sv
%{_datadir}/gimp/%{api_version}/help/sv/*
%package i18n-zh_CN
Summary: Simplified chinese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-zn_CN
Obsoletes: gimp-help-zn_CN
%description i18n-zh_CN
Simplified chinese help files for Gimp.
%files i18n-zh_CN
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/zh_CN
%{_datadir}/gimp/%{api_version}/help/zh_CN/*
%changelog
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-2mamba
- gimp-help-i18n-ja: don't provide/obsolete gimp-help-ko but gimp-help-ja
* Tue Apr 19 2011 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic update by autodist
* Sat Dec 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
- automatic update by autodist
* Tue Aug 26 2008 Aleph0 <aleph0@openmamba.org> 2.4.1-1mamba
- update to 2.4.1
- added missing build requirements for gome-doc-utils, docbook-dtds, and docbook-xsl
* Sun Dec 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
- new gimp-help stand-alone package split out of gimp package
- bump epoch because previous version of gimp-help was 2.4.3
- package set as noarch