From d93837ba1e3afab762668641a2e29f69ee8d017de8be92af2f152b807dde818e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 17 May 2007 09:27:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/digikam?expand=0&rev=10 --- digikam.changes | 5 +++++ digikam.spec | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/digikam.changes b/digikam.changes index 12d35ca..e81ac46 100644 --- a/digikam.changes +++ b/digikam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 15 19:20:31 CEST 2007 - coolo@suse.de + +- build on older distributions + ------------------------------------------------------------------- Fri May 11 14:40:34 CEST 2007 - coolo@suse.de diff --git a/digikam.spec b/digikam.spec index 57a0d98..4dc565e 100644 --- a/digikam.spec +++ b/digikam.spec @@ -30,7 +30,7 @@ License: GNU General Public License (GPL) Group: Hardware/Other Summary: A KDE Photo Manager Version: 0.9.1 -Release: 24 +Release: 30 %define rversion %version URL: http://www.digikam.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,7 +46,9 @@ Patch9: renamepreview.patch Patch10: accept-old-libexiv2.diff Patch11: fix-non-utf8.diff Requires: imlib2-loaders +%if %suse_version > 1020 Requires: %{name}-lang = %{version} +%endif %description digiKam is a simple digital photo management application for KDE, which @@ -90,7 +92,9 @@ Authors: -------- Renchi Raju +%if %suse_version > 1020 %lang_package +%endif %prep %setup -q -n %name-%rversion %if %suse_version > 900 @@ -140,10 +144,15 @@ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicem %clean rm -rf $RPM_BUILD_ROOT +%if %suse_version > 1020 %files lang -f %name.lang %files +%else + +%files -f %name.lang +%endif %defattr(-,root,root) /opt/kde3/bin/* /opt/kde3/%_lib/*.so.* @@ -164,6 +173,8 @@ rm -rf $RPM_BUILD_ROOT /opt/kde3/%_lib/*.la %changelog +* Tue May 15 2007 - coolo@suse.de +- build on older distributions * Fri May 11 2007 - coolo@suse.de - seperate translations into special subpackage * Tue Apr 24 2007 - dmueller@suse.de