Marcin Garski 3d7cc6d
Name:		digikam
Marcin Garski 7c931c7
Version:	0.9.1
Marcin Garski 04415c9
Release:	1%{?dist}
Marcin Garski 3d7cc6d
Summary:	A digital camera accessing & photo management application
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
Group:		Applications/Multimedia
Marcin Garski 3d7cc6d
License:	GPL
Marcin Garski 3d7cc6d
URL:		http://www.digikam.org/
Marcin Garski 04415c9
Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Marcin Garski 3d7cc6d
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Marcin Garski 3d7cc6d
Marcin Garski 0350db5
BuildRequires:	qt-devel kdelibs-devel arts-devel gphoto2-devel >= 2.0.0
Marcin Garski 7c931c7
BuildRequires:	exiv2-devel >= 0.12 libkexiv2-devel >= 0.1 libkipi-devel >= 0.1
Marcin Garski 7c931c7
BuildRequires:	lcms-devel libtiff-devel libpng-devel >= 1.2.7 jasper-devel
Marcin Garski 7c931c7
BuildRequires:	sqlite-devel >= 3.0.0 gettext pkgconfig desktop-file-utils
Marcin Garski 7c931c7
BuildRequires:	libtool-ltdl-devel
Marcin Garski 3d7cc6d
Requires(post):	desktop-file-utils
Marcin Garski 3d7cc6d
Requires(postun): desktop-file-utils
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%description
Marcin Garski 3d7cc6d
digiKam is an easy to use and powerful digital photo management application,
Marcin Garski 3d7cc6d
which makes importing, organizing and manipulating digital photos a "snap".
Marcin Garski 3d7cc6d
The photos can be organized in albums which are automatically sorted
Marcin Garski 3d7cc6d
chronologically. An easy to use interface is provided to connect to your
Marcin Garski 3d7cc6d
digital camera, preview the images and download and/or delete them.
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
digiKam buildin image editor makes the common photo correction a simple task.
Marcin Garski 663e171
The image editor is extensible via plugins, install the digikamimageplugins
Marcin Garski 663e171
and/or kipi-plugins packages to use them.
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%package devel
Marcin Garski 3d7cc6d
Summary:	Development files for %{name}
Marcin Garski 3d7cc6d
Group:		Development/Libraries
Marcin Garski 3d7cc6d
Requires:	%{name} = %{version}-%{release}
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%description devel
Marcin Garski 3d7cc6d
This package contains the libraries, include files and other resources
Marcin Garski 3d7cc6d
needed to develop applications using %{name}.
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%prep
Marcin Garski 04415c9
%setup -q
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%build
Marcin Garski 328d1c6
unset QTDIR || : ; . %{_sysconfdir}/profile.d/qt.sh
Marcin Garski 3d7cc6d
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%configure \
Marcin Garski 3d7cc6d
	--disable-rpath \
Marcin Garski 71ceecd
	--disable-debug \
Marcin Garski 04415c9
	--disable-dependency-tracking \
Marcin Garski 04415c9
	--enable-final
Marcin Garski 3d7cc6d
make %{?_smp_mflags}
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%install
Marcin Garski 3d7cc6d
rm -rf $RPM_BUILD_ROOT
Marcin Garski 7634526
make install DESTDIR=$RPM_BUILD_ROOT
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
desktop-file-install --vendor fedora --delete-original \
Marcin Garski 3d7cc6d
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
Marcin Garski 3d7cc6d
	--add-category X-Fedora \
Marcin Garski 3d7cc6d
	--add-category Application \
Marcin Garski 3d7cc6d
	--add-category Photograph \
Marcin Garski 3d7cc6d
	--add-category Graphics \
Marcin Garski 73e6d5a
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/%{name}.desktop
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
desktop-file-install --vendor fedora --delete-original \
Marcin Garski 3d7cc6d
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
Marcin Garski 3d7cc6d
	--add-category X-Fedora \
Marcin Garski 3d7cc6d
	--add-category Application \
Marcin Garski 3d7cc6d
	--add-category Photograph \
Marcin Garski 3d7cc6d
	--add-category Graphics \
Marcin Garski 3d7cc6d
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/showfoto.desktop
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%find_lang %{name}
Marcin Garski 3d7cc6d
Marcin Garski fcd85c0
rm -f $RPM_BUILD_ROOT%{_libdir}/libdigikam.la
Marcin Garski fcd85c0
Marcin Garski 3d7cc6d
%post
Marcin Garski 3d7cc6d
/sbin/ldconfig
Marcin Garski 3d7cc6d
update-desktop-database &> /dev/null ||:
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
touch --no-create %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6d
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Marcin Garski 3d7cc6d
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6d
fi
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%postun
Marcin Garski 3d7cc6d
/sbin/ldconfig
Marcin Garski 3d7cc6d
update-desktop-database &> /dev/null ||:
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
touch --no-create %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6d
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Marcin Garski 3d7cc6d
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Marcin Garski 3d7cc6d
fi
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%clean
Marcin Garski 3d7cc6d
rm -rf $RPM_BUILD_ROOT
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%files -f %name.lang
Marcin Garski 7c931c7
%defattr(-,root,root,-)
Marcin Garski 501d374
%doc AUTHORS ChangeLog COPYING HACKING NEWS README TODO
Marcin Garski 3d7cc6d
%{_bindir}/*
Marcin Garski 3d7cc6d
%{_libdir}/libdigikam.so.*
Marcin Garski 3d7cc6d
%{_libdir}/kde3/digikamimageplugin_core.la
Marcin Garski 3d7cc6d
%{_libdir}/kde3/digikamimageplugin_core.so
Marcin Garski 3d7cc6d
%{_libdir}/kde3/kio_digikam*.la
Marcin Garski 3d7cc6d
%{_libdir}/kde3/kio_digikam*.so
Marcin Garski 3d7cc6d
%{_datadir}/applications/*.desktop
Marcin Garski 3d7cc6d
%{_datadir}/apps/digikam/
Marcin Garski 501d374
%{_datadir}/apps/konqueror/servicemenus/*.desktop
Marcin Garski 3d7cc6d
%{_datadir}/apps/showfoto/
Marcin Garski dbf252a
%{_datadir}/icons/hicolor/*/apps/*.png
Marcin Garski 501d374
%{_mandir}/man1/*.1*
Marcin Garski 3d7cc6d
%{_datadir}/services/digikam*
Marcin Garski 3d7cc6d
%{_datadir}/servicetypes/digikamimageplugin.desktop
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%files devel
Marcin Garski 3d7cc6d
%defattr(-, root, root)
Marcin Garski 3d7cc6d
%{_includedir}/digikam/
Marcin Garski 3d7cc6d
%{_includedir}/digikam_export.h
Marcin Garski 3d7cc6d
%{_libdir}/libdigikam.so
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%changelog
Marcin Garski 7c931c7
* Fri Mar 09 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.1-1
Marcin Garski 7c931c7
- Update to version 0.9.1
Marcin Garski 7c931c7
- Update BuildRequires
Marcin Garski 7c931c7
Marcin Garski 04415c9
* Mon Dec 18 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-1
Marcin Garski 04415c9
- Update to version 0.9.0
Marcin Garski 04415c9
Marcin Garski 2250323
* Tue Nov 28 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-0.2.rc1
Marcin Garski 2250323
- Rebuild
Marcin Garski 2250323
Marcin Garski 501d374
* Tue Nov 28 2006 Marcin Garski <mgarski[AT]post.pl> 0.9.0-0.1.rc1
Marcin Garski 501d374
- Update to version 0.9.0-rc1
Marcin Garski 501d374
Marcin Garski 6d2ba92
* Fri Sep 01 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-3
Marcin Garski 6d2ba92
- Rebuild for Fedora Core 6
Marcin Garski 6d2ba92
Marcin Garski 44756ad
* Wed Aug 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-2
Marcin Garski 44756ad
- Release bump (#201756)
Marcin Garski 44756ad
Marcin Garski 73e6d5a
* Tue Aug 01 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.2-1
Marcin Garski 73e6d5a
- Update to version 0.8.2 (#200932)
Marcin Garski 73e6d5a
Marcin Garski 990c048
* Tue Feb 14 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-3
Marcin Garski 990c048
- Rebuild
Marcin Garski 990c048
Marcin Garski dbf252a
* Wed Feb 08 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-2
Marcin Garski dbf252a
- Exclude x-raw.desktop (bug #179754)
Marcin Garski dbf252a
- Don't own icons directory
Marcin Garski dbf252a
Marcin Garski dbf252a
* Mon Jan 23 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.1-1
Marcin Garski efaabdc
- Add --enable-final
Marcin Garski efaabdc
- Remove GCC 4.1 patch, applied upstream
Marcin Garski efaabdc
- Update to version 0.8.1
Marcin Garski efaabdc
Marcin Garski dbf252a
* Mon Jan 23 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-16
Marcin Garski 0350db5
- Add some stuff to BuildRequires (finally fix bug #178031)
Marcin Garski 0350db5
Marcin Garski dbf252a
* Tue Jan 17 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-15
Marcin Garski 71ceecd
- Remove redundant BuildRequires (bug #178031)
Marcin Garski 71ceecd
Marcin Garski dbf252a
* Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-14
Marcin Garski 208746d
- Remove --disable-dependency-tracking
Marcin Garski 208746d
Marcin Garski dbf252a
* Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-13
Marcin Garski e62377f
- Remove --enable-final (caused compilation errors)
Marcin Garski e62377f
Marcin Garski dbf252a
* Sun Jan 15 2006 Marcin Garski <mgarski[AT]post.pl> 0.8.0-12
Marcin Garski 7c931c7
- Change "/etc/profile.d/qt.sh" to "%%{_sysconfdir}/profile.d/qt.sh"
Marcin Garski 328d1c6
- Add --disable-dependency-tracking & --enable-final
Marcin Garski 328d1c6
Marcin Garski dbf252a
* Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-11
Marcin Garski b757a3a
- Add libart_lgpl-devel and gamin-devel to BR
Marcin Garski b757a3a
Marcin Garski dbf252a
* Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-10
Marcin Garski a4854f6
- Add libacl-devel to BR
Marcin Garski a4854f6
Marcin Garski dbf252a
* Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-9
Marcin Garski 124d9c3
- Add libidn-devel to BR
Marcin Garski 124d9c3
Marcin Garski dbf252a
* Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-8
Marcin Garski ab519a8
- Fix compile on GCC 4.1
Marcin Garski ab519a8
Marcin Garski dbf252a
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-7
Marcin Garski 619bfad
- Remove autoreconf
Marcin Garski 619bfad
Marcin Garski dbf252a
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-6
Marcin Garski 7ebc47f
- Remove patch
Marcin Garski 7ebc47f
Marcin Garski dbf252a
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-5
Marcin Garski 9ff415e
- Last chance to make it right (modular X.Org)
Marcin Garski 9ff415e
Marcin Garski dbf252a
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-4
Marcin Garski 5c4d5b6
- Try to build for modular X.Org
Marcin Garski 5c4d5b6
Marcin Garski dbf252a
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-3
Marcin Garski 20c4358
- Add new paths for modular X.Org
Marcin Garski 20c4358
Marcin Garski dbf252a
* Fri Dec 09 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-2
Marcin Garski cde79cb
- Work around for modular X.Org paths
Marcin Garski cde79cb
Marcin Garski dbf252a
* Thu Dec 01 2005 Marcin Garski <mgarski[AT]post.pl> 0.8.0-1
Marcin Garski 663e171
- Add description about digikamimageplugins and kipi-plugins
Marcin Garski 663e171
- Remove 64 bit patch, applied upstream
Marcin Garski 663e171
- Update to version 0.8.0
Marcin Garski 663e171
Marcin Garski dbf252a
* Sat Oct 22 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-4
Marcin Garski fcd85c0
- Exclude libdigikam.la (bug #171503)
Marcin Garski fcd85c0
Marcin Garski dbf252a
* Sat Sep 17 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-3
Marcin Garski 7634526
- Change confusing warning about Big Endian Platform
Marcin Garski 7634526
Marcin Garski dbf252a
* Tue Sep 13 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-2
Marcin Garski 3d7cc6d
- Spec improvements
Marcin Garski 3d7cc6d
Marcin Garski dbf252a
* Mon Sep 12 2005 Marcin Garski <mgarski[AT]post.pl> 0.7.4-1
Marcin Garski 3d7cc6d
- Updated to version 0.7.4 & clean up for Fedora Extras
Marcin Garski 3d7cc6d
Marcin Garski dbf252a
* Sat Jun 26 2004 Marcin Garski <mgarski[AT]post.pl> 0.6.2-1.fc2
Marcin Garski 3d7cc6d
- Updated to version 0.6.2
Marcin Garski 3d7cc6d
Marcin Garski dbf252a
* Wed Jun 09 2004 Marcin Garski <mgarski[AT]post.pl> 0.6.2RC-1.fc2
Marcin Garski 3d7cc6d
- Initial specfile