Marcin Garski 3d7cc6d
Name:		digikam
Marcin Garski 663e171
Version:	0.8.0
Marcin Garski 619bfad
Release:	7%{?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 3d7cc6d
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 663e171
BuildRequires:	gphoto2-devel >= 2.0.0 imlib2-devel libkexif-devel >= 0.2
Marcin Garski 663e171
BuildRequires:	libkipi-devel >= 0.1 sqlite-devel >= 3.0.0 desktop-file-utils
Marcin Garski 9ff415e
BuildRequires:	libXt-devel libtiff-devel gettext
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 3d7cc6d
%setup -q
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%build
Marcin Garski 3d7cc6d
unset QTDIR || : ; . /etc/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 9ff415e
	--disable-debug
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 3d7cc6d
	$RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/%{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 3d7cc6d
%defattr(-, root, root)
Marcin Garski 663e171
%doc AUTHORS ChangeLog COPYING HACKING 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 3d7cc6d
%{_datadir}/apps/showfoto/
Marcin Garski 3d7cc6d
%{_datadir}/icons/hicolor/*
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 619bfad
* Tue Dec 13 2005 Marcin Garski <mgarski@post.pl> 0.8.0-7
Marcin Garski 619bfad
- Remove autoreconf
Marcin Garski 619bfad
Marcin Garski 7ebc47f
* Tue Dec 13 2005 Marcin Garski <mgarski@post.pl> 0.8.0-6
Marcin Garski 7ebc47f
- Remove patch
Marcin Garski 7ebc47f
Marcin Garski 9ff415e
* Tue Dec 13 2005 Marcin Garski <mgarski@post.pl> 0.8.0-5
Marcin Garski 9ff415e
- Last chance to make it right (modular X.Org)
Marcin Garski 9ff415e
Marcin Garski 5c4d5b6
* Tue Dec 13 2005 Marcin Garski <mgarski@post.pl> 0.8.0-4
Marcin Garski 5c4d5b6
- Try to build for modular X.Org
Marcin Garski 5c4d5b6
Marcin Garski 20c4358
* Tue Dec 13 2005 Marcin Garski <mgarski@post.pl> 0.8.0-3
Marcin Garski 20c4358
- Add new paths for modular X.Org
Marcin Garski 20c4358
Marcin Garski cde79cb
* Fri Dec 09 2005 Marcin Garski <mgarski@post.pl> 0.8.0-2
Marcin Garski cde79cb
- Work around for modular X.Org paths
Marcin Garski cde79cb
Marcin Garski 663e171
* Thu Dec 01 2005 Marcin Garski <mgarski@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 fcd85c0
* Sat Oct 22 2005 Marcin Garski <mgarski@post.pl> 0.7.4-4
Marcin Garski fcd85c0
- Exclude libdigikam.la (bug #171503)
Marcin Garski fcd85c0
Marcin Garski 7634526
* Sat Sep 17 2005 Marcin Garski <mgarski@post.pl> 0.7.4-3
Marcin Garski 7634526
- Change confusing warning about Big Endian Platform
Marcin Garski 7634526
Marcin Garski 3d7cc6d
* Tue Sep 13 2005 Marcin Garski <mgarski@post.pl> 0.7.4-2
Marcin Garski 3d7cc6d
- Spec improvements
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
* Mon Sep 12 2005 Marcin Garski <mgarski@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 3d7cc6d
* Sat Jun 26 2004 Marcin Garski <mgarski@post.pl> 0.6.2-1.fc2
Marcin Garski 3d7cc6d
- Updated to version 0.6.2
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
* Wed Jun 09 2004 Marcin Garski <mgarski@post.pl> 0.6.2RC-1.fc2
Marcin Garski 3d7cc6d
- Initial specfile