acfd7a
Marcin Garski 3d7cc6
Name:		digikam
c52ff6
Version:	0.9.4
c52ff6
Release: 	1%{?dist}
Marcin Garski 3d7cc6
Summary:	A digital camera accessing & photo management application
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
Group:		Applications/Multimedia
87a133
License:	GPLv2+
Marcin Garski 3d7cc6
URL:		http://www.digikam.org/
acfd7a
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?beta:-%{beta}}.tar.bz2
Marcin Garski 3d7cc6
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Marcin Garski 3d7cc6
c52ff6
BuildRequires:  desktop-file-utils
c52ff6
BuildRequires:  gettext
c52ff6
BuildRequires:  kdelibs3-devel
c52ff6
%if 0%{?fedora} > 9
c52ff6
BuildRequires:  libgphoto2-devel
c52ff6
%else
c52ff6
BuildRequires:  gphoto2-devel
c52ff6
%endif
c52ff6
BuildRequires:  jasper-devel
c52ff6
BuildRequires:  libkdcraw-devel >= 0.1.4
c52ff6
BuildRequires:  libkexiv2-devel >= 0.1.7 
c52ff6
BuildRequires:  libkipi-devel >= 0.1.6
c52ff6
BuildRequires:  lcms-devel
c52ff6
BuildRequires:  libtiff-devel
c52ff6
BuildRequires:  libpng-devel >= 1.2.7
22b1b6
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
Marcin Garski 7c931c
BuildRequires:	libtool-ltdl-devel
22b1b6
%endif
Marcin Garski 3d7cc6
Marcin Garski 0702c7
Provides:	digikamimageplugins = %{version}-%{release}
Marcin Garski 0702c7
Obsoletes:	digikamimageplugins < 0.9.1-2
Marcin Garski 0702c7
Marcin Garski 3d7cc6
%description
Marcin Garski 3d7cc6
digiKam is an easy to use and powerful digital photo management application,
Marcin Garski 3d7cc6
which makes importing, organizing and manipulating digital photos a "snap".
Marcin Garski 0702c7
An easy to use interface is provided to connect to your digital camera,
Marcin Garski 0702c7
preview the images and download and/or delete them.
Marcin Garski 3d7cc6
Marcin Garski 0702c7
digiKam built-in image editor makes the common photo correction a simple task.
Marcin Garski 0702c7
The image editor is extensible via plugins, can also make use of the KIPI image
Marcin Garski 0702c7
handling plugins to extend its capabilities even further for photo
Marcin Garski 0702c7
manipulations, import and export, etc. Install the kipi-plugins packages
Marcin Garski 0702c7
to use them.
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%package devel
Marcin Garski 3d7cc6
Summary:	Development files for %{name}
Marcin Garski 3d7cc6
Group:		Development/Libraries
Marcin Garski 3d7cc6
Requires:	%{name} = %{version}-%{release}
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%description devel
Marcin Garski 3d7cc6
This package contains the libraries, include files and other resources
Marcin Garski 3d7cc6
needed to develop applications using %{name}.
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%prep
acfd7a
%setup -q -n %{name}-%{version}%{?beta:-%{beta}}
Marcin Garski 3d7cc6
22b1b6
Marcin Garski 3d7cc6
%build
Marcin Garski 328d1c
unset QTDIR || : ; . %{_sysconfdir}/profile.d/qt.sh
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%configure \
Marcin Garski 3d7cc6
	--disable-rpath \
b46d88
	--enable-new-ldflags \
Marcin Garski 5c61e7
	--disable-debug \
Marcin Garski 5c61e7
	--disable-warnings \
Marcin Garski 04415c
	--disable-dependency-tracking \
Marcin Garski 04415c
	--enable-final
Marcin Garski 3d7cc6
make %{?_smp_mflags}
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%install
Marcin Garski 3d7cc6
rm -rf $RPM_BUILD_ROOT
Marcin Garski 763452
make install DESTDIR=$RPM_BUILD_ROOT
Marcin Garski 3d7cc6
b46d88
desktop-file-install --vendor="" \
b46d88
	--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
Marcin Garski 7217b6
	--add-category Photography \
Marcin Garski 73e6d5
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/%{name}.desktop
Marcin Garski 3d7cc6
b46d88
desktop-file-install --vendor="" \
b46d88
	--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
Marcin Garski 7217b6
	--add-category Photography \
Marcin Garski 3d7cc6
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/showfoto.desktop
Marcin Garski 3d7cc6
ffd085
%find_lang %{name} || touch %{name}.lang
Marcin Garski 3d7cc6
Marcin Garski fcd85c
rm -f $RPM_BUILD_ROOT%{_libdir}/libdigikam.la
Marcin Garski fcd85c
Marcin Garski 5c61e7
# Create symlinks in pixmaps directory
87a133
# FIXME: this shouldn't be necessary anymore -- Rex
Marcin Garski 5c61e7
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
Marcin Garski 5c61e7
ln -sf ../icons/hicolor/48x48/apps/digikam.png \
Marcin Garski 5c61e7
	$RPM_BUILD_ROOT%{_datadir}/pixmaps/digikam.png
Marcin Garski 5c61e7
ln -sf ../icons/hicolor/48x48/apps/showfoto.png \
Marcin Garski 5c61e7
	$RPM_BUILD_ROOT%{_datadir}/pixmaps/showfoto.png
Marcin Garski 5c61e7
Marcin Garski 3d7cc6
%post
Marcin Garski 3d7cc6
/sbin/ldconfig
Marcin Garski 3d7cc6
update-desktop-database &> /dev/null ||:
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
touch --no-create %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Marcin Garski 3d7cc6
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6
fi
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%postun
Marcin Garski 3d7cc6
/sbin/ldconfig
Marcin Garski 3d7cc6
update-desktop-database &> /dev/null ||:
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
touch --no-create %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Marcin Garski 3d7cc6
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6
fi
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%clean
Marcin Garski 3d7cc6
rm -rf $RPM_BUILD_ROOT
Marcin Garski 3d7cc6
b46d88
%files -f %{name}.lang
Marcin Garski 7c931c
%defattr(-,root,root,-)
Marcin Garski 501d37
%doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
Marcin Garski 3d7cc6
%{_bindir}/*
Marcin Garski 3d7cc6
%{_libdir}/libdigikam.so.*
Marcin Garski 0702c7
%{_libdir}/kde3/digikamimageplugin_*.la
Marcin Garski 0702c7
%{_libdir}/kde3/digikamimageplugin_*.so
Marcin Garski 3d7cc6
%{_libdir}/kde3/kio_digikam*.la
Marcin Garski 3d7cc6
%{_libdir}/kde3/kio_digikam*.so
b46d88
%{_datadir}/applications/kde/*.desktop
Marcin Garski 3d7cc6
%{_datadir}/apps/digikam/
Marcin Garski 501d37
%{_datadir}/apps/konqueror/servicemenus/*.desktop
Marcin Garski 3d7cc6
%{_datadir}/apps/showfoto/
b46d88
%{_datadir}/icons/hicolor/*/*/*
Marcin Garski 501d37
%{_mandir}/man1/*.1*
Marcin Garski 5c61e7
%{_datadir}/pixmaps/*.png
Marcin Garski 3d7cc6
%{_datadir}/services/digikam*
Marcin Garski 3d7cc6
%{_datadir}/servicetypes/digikamimageplugin.desktop
Marcin Garski 3d7cc6
Marcin Garski 3d7cc6
%files devel
Marcin Garski 0702c7
%defattr(-,root,root,-)
Marcin Garski 3d7cc6
%{_includedir}/digikam/
Marcin Garski 3d7cc6
%{_includedir}/digikam_export.h
Marcin Garski 3d7cc6
%{_libdir}/libdigikam.so
Marcin Garski 3d7cc6
c52ff6
Marcin Garski 3d7cc6
%changelog
c52ff6
* Thu Jul 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-1
c52ff6
- digikam-0.9.4
c52ff6
Marcin Garski bc922c
* Mon Jul 07 2008 Marcin Garski <mgarski[at]post.pl> 0.9.3-5
Marcin Garski d66033
- Don't lose some photos during import (#448235)
Marcin Garski d66033
dcb051
* Fri Mar 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-3
dcb051
- respin (for libkdcraw)
acfd7a
c52664
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.3-2
c52664
- Autorebuild for GCC 4.3
c52664
Marcin Garski c18b56
* Sat Dec 22 2007 Marcin Garski <mgarski[at]post.pl> 0.9.3-1
Marcin Garski c18b56
- Update to 0.9.3
Marcin Garski c18b56
- BR: libkexiv2-devel >= 0.1.6 libkdcraw-devel >= 0.1.2
Marcin Garski c18b56
ffd085
* Sat Dec 08 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.3-0.5.rc1
2aae1e
- digikam-0.9.3-rc1
5102d5
- BR: kdelibs3-devel
2aae1e
eedc2c
* Thu Nov 20 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.3-0.2.beta3
eedc2c
- digikam-0.9.3-beta3
eedc2c
4a40c9
* Tue Nov 13 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.3-0.1.beta2
4a40c9
- digikam-0.9.3-beta2
4a40c9
Marcin Garski 75583c
* Tue Sep 18 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-5
Marcin Garski 75583c
- Rebuild
Marcin Garski 75583c
87a133
* Wed Aug 29 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.3-4
87a133
- License: GPLv2+
87a133
- lcms patch (kde bug #148930)
87a133
d79c45
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at="" fedoraproject="" dot="" org=""> - 0.9.2-3
d79c45
- Rebuild for selinux ppc32 issue.
d79c45
Marcin Garski 5c61e7
* Fri Jun 22 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-2
Marcin Garski 5c61e7
- Create symlinks in pixmaps directory (#242978)
Marcin Garski 5c61e7
Marcin Garski 4440b2
* Tue Jun 19 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-1
Marcin Garski 4440b2
- Update to version 0.9.2-final
Marcin Garski 4440b2
- Remove digikam-0.9.2-beta3-fix-exiv2-dep.patch, merged upstream
Marcin Garski 4440b2
Marcin Garski 7217b6
* Wed Jun 06 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-0.3.beta3
Marcin Garski 7217b6
- Fix .desktop category
Marcin Garski 7217b6
Marcin Garski 2fbeaf
* Wed Jun 06 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-0.2.beta3
Marcin Garski 2fbeaf
- Fix broken compilation caused by Exiv2 dependency
Marcin Garski 2fbeaf
Marcin Garski 0702c7
* Tue Jun 05 2007 Marcin Garski <mgarski[at]post.pl> 0.9.2-0.1.beta3
Marcin Garski 0702c7
- Update to version 0.9.2-beta3 (merge with digikamimageplugins)
Marcin Garski 0702c7
- Update description
Marcin Garski 0702c7
b46d88
* Mon May 14 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.1-3
b46d88
- respin against libkexiv2-0.1.5
b46d88
- preserve upstream .desktop vendor (f7 branch at least)
b46d88
22b1b6
* Mon Apr 02 2007 Rex Dieter <rdieter[at]fedoraproject.org> 0.9.1-2
22b1b6
- exiv2-0.14 patch
22b1b6
- cleanup/simplify BR's,Requires,d-f-i usage
22b1b6
Marcin Garski 7c931c
* Fri Mar 09 2007 Marcin Garski <mgarski[at]post.pl> 0.9.1-1
Marcin Garski 7c931c
- Update to version 0.9.1
Marcin Garski 7c931c
- Update BuildRequires
Marcin Garski 7c931c
Marcin Garski 04415c
* Mon Dec 18 2006 Marcin Garski <mgarski[at]post.pl> 0.9.0-1
Marcin Garski 04415c
- Update to version 0.9.0
Marcin Garski 04415c
Marcin Garski 225032
* Tue Nov 28 2006 Marcin Garski <mgarski[at]post.pl> 0.9.0-0.2.rc1
Marcin Garski 225032
- Rebuild
Marcin Garski 225032
Marcin Garski 501d37
* Tue Nov 28 2006 Marcin Garski <mgarski[at]post.pl> 0.9.0-0.1.rc1
Marcin Garski 501d37
- Update to version 0.9.0-rc1
Marcin Garski 501d37
Marcin Garski 6d2ba9
* Fri Sep 01 2006 Marcin Garski <mgarski[at]post.pl> 0.8.2-3
Marcin Garski 6d2ba9
- Rebuild for Fedora Core 6
Marcin Garski 6d2ba9
Marcin Garski 44756a
* Wed Aug 16 2006 Marcin Garski <mgarski[at]post.pl> 0.8.2-2
Marcin Garski 44756a
- Release bump (#201756)
Marcin Garski 44756a
Marcin Garski 73e6d5
* Tue Aug 01 2006 Marcin Garski <mgarski[at]post.pl> 0.8.2-1
Marcin Garski 73e6d5
- Update to version 0.8.2 (#200932)
Marcin Garski 73e6d5
Marcin Garski 990c04
* Tue Feb 14 2006 Marcin Garski <mgarski[at]post.pl> 0.8.1-3
Marcin Garski 990c04
- Rebuild
Marcin Garski 990c04
Marcin Garski dbf252
* Wed Feb 08 2006 Marcin Garski <mgarski[at]post.pl> 0.8.1-2
Marcin Garski dbf252
- Exclude x-raw.desktop (bug #179754)
Marcin Garski dbf252
- Don't own icons directory
Marcin Garski dbf252
Marcin Garski dbf252
* Mon Jan 23 2006 Marcin Garski <mgarski[at]post.pl> 0.8.1-1
Marcin Garski efaabd
- Add --enable-final
Marcin Garski efaabd
- Remove GCC 4.1 patch, applied upstream
Marcin Garski efaabd
- Update to version 0.8.1
Marcin Garski efaabd
Marcin Garski dbf252
* Mon Jan 23 2006 Marcin Garski <mgarski[at]post.pl> 0.8.0-16
Marcin Garski 0350db
- Add some stuff to BuildRequires (finally fix bug #178031)
Marcin Garski 0350db
Marcin Garski dbf252
* Tue Jan 17 2006 Marcin Garski <mgarski[at]post.pl> 0.8.0-15
Marcin Garski 71ceec
- Remove redundant BuildRequires (bug #178031)
Marcin Garski 71ceec
Marcin Garski dbf252
* Mon Jan 16 2006 Marcin Garski <mgarski[at]post.pl> 0.8.0-14
Marcin Garski 208746
- Remove --disable-dependency-tracking
Marcin Garski 208746
Marcin Garski dbf252
* Mon Jan 16 2006 Marcin Garski <mgarski[at]post.pl> 0.8.0-13
Marcin Garski e62377
- Remove --enable-final (caused compilation errors)
Marcin Garski e62377
Marcin Garski dbf252
* Sun Jan 15 2006 Marcin Garski <mgarski[at]post.pl> 0.8.0-12
Marcin Garski 7c931c
- Change "/etc/profile.d/qt.sh" to "%%{_sysconfdir}/profile.d/qt.sh"
Marcin Garski 328d1c
- Add --disable-dependency-tracking & --enable-final
Marcin Garski 328d1c
Marcin Garski dbf252
* Wed Dec 14 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-11
Marcin Garski b757a3
- Add libart_lgpl-devel and gamin-devel to BR
Marcin Garski b757a3
Marcin Garski dbf252
* Wed Dec 14 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-10
Marcin Garski a4854f
- Add libacl-devel to BR
Marcin Garski a4854f
Marcin Garski dbf252
* Wed Dec 14 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-9
Marcin Garski 124d9c
- Add libidn-devel to BR
Marcin Garski 124d9c
Marcin Garski dbf252
* Wed Dec 14 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-8
Marcin Garski ab519a
- Fix compile on GCC 4.1
Marcin Garski ab519a
Marcin Garski dbf252
* Tue Dec 13 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-7
Marcin Garski 619bfa
- Remove autoreconf
Marcin Garski 619bfa
Marcin Garski dbf252
* Tue Dec 13 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-6
Marcin Garski 7ebc47
- Remove patch
Marcin Garski 7ebc47
Marcin Garski dbf252
* Tue Dec 13 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-5
Marcin Garski 9ff415
- Last chance to make it right (modular X.Org)
Marcin Garski 9ff415
Marcin Garski dbf252
* Tue Dec 13 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-4
Marcin Garski 5c4d5b
- Try to build for modular X.Org
Marcin Garski 5c4d5b
Marcin Garski dbf252
* Tue Dec 13 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-3
Marcin Garski 20c435
- Add new paths for modular X.Org
Marcin Garski 20c435
Marcin Garski dbf252
* Fri Dec 09 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-2
Marcin Garski cde79c
- Work around for modular X.Org paths
Marcin Garski cde79c
Marcin Garski dbf252
* Thu Dec 01 2005 Marcin Garski <mgarski[at]post.pl> 0.8.0-1
Marcin Garski 663e17
- Add description about digikamimageplugins and kipi-plugins
Marcin Garski 663e17
- Remove 64 bit patch, applied upstream
Marcin Garski 663e17
- Update to version 0.8.0
Marcin Garski 663e17
Marcin Garski dbf252
* Sat Oct 22 2005 Marcin Garski <mgarski[at]post.pl> 0.7.4-4
Marcin Garski fcd85c
- Exclude libdigikam.la (bug #171503)
Marcin Garski fcd85c
Marcin Garski dbf252
* Sat Sep 17 2005 Marcin Garski <mgarski[at]post.pl> 0.7.4-3
Marcin Garski 763452
- Change confusing warning about Big Endian Platform
Marcin Garski 763452
Marcin Garski dbf252
* Tue Sep 13 2005 Marcin Garski <mgarski[at]post.pl> 0.7.4-2
Marcin Garski 3d7cc6
- Spec improvements
Marcin Garski 3d7cc6
Marcin Garski dbf252
* Mon Sep 12 2005 Marcin Garski <mgarski[at]post.pl> 0.7.4-1
Marcin Garski 3d7cc6
- Updated to version 0.7.4 & clean up for Fedora Extras
Marcin Garski 3d7cc6
Marcin Garski dbf252
* Sat Jun 26 2004 Marcin Garski <mgarski[at]post.pl> 0.6.2-1.fc2
Marcin Garski 3d7cc6
- Updated to version 0.6.2
Marcin Garski 3d7cc6
Marcin Garski dbf252
* Wed Jun 09 2004 Marcin Garski <mgarski[at]post.pl> 0.6.2RC-1.fc2
Marcin Garski 3d7cc6
- Initial specfile