67f27e1
%define beta rc2
acfd7a6
Marcin Garski 3d7cc6d
Name:		digikam
bfc353e
Version:	0.9.4
67f27e1
Release: 	0.4.%{beta}%{?dist}
Marcin Garski 3d7cc6d
Summary:	A digital camera accessing & photo management application
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
Group:		Applications/Multimedia
87a133c
License:	GPLv2+
Marcin Garski 3d7cc6d
URL:		http://www.digikam.org/
4dbd9fb
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?beta:-%{beta}}.tar.bz2
Marcin Garski 3d7cc6d
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Marcin Garski 3d7cc6d
b46d886
BuildRequires:	desktop-file-utils
b46d886
BuildRequires:	gettext
5102d51
BuildRequires:	kdelibs3-devel
b46d886
BuildRequires:	gphoto2-devel >= 2.0.0
bfc353e
BuildRequires:  jasper-devel
bfc353e
BuildRequires:  libkdcraw-devel >= 0.1.4
bfc353e
BuildRequires:	libkexiv2-devel >= 0.1.7 
bfc353e
BuildRequires:  libkipi-devel >= 0.1.6
bfc353e
BuildRequires:	lcms-devel
bfc353e
BuildRequires:  libtiff-devel
bfc353e
BuildRequires:  libpng-devel >= 1.2.7
22b1b6e
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
Marcin Garski 7c931c7
BuildRequires:	libtool-ltdl-devel
22b1b6e
%endif
Marcin Garski 3d7cc6d
Marcin Garski 0702c78
Provides:	digikamimageplugins = %{version}-%{release}
Marcin Garski 0702c78
Obsoletes:	digikamimageplugins < 0.9.1-2
Marcin Garski 0702c78
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 0702c78
An easy to use interface is provided to connect to your digital camera,
Marcin Garski 0702c78
preview the images and download and/or delete them.
Marcin Garski 3d7cc6d
Marcin Garski 0702c78
digiKam built-in image editor makes the common photo correction a simple task.
Marcin Garski 0702c78
The image editor is extensible via plugins, can also make use of the KIPI image
Marcin Garski 0702c78
handling plugins to extend its capabilities even further for photo
Marcin Garski 0702c78
manipulations, import and export, etc. Install the kipi-plugins packages
Marcin Garski 0702c78
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
acfd7a6
%setup -q -n %{name}-%{version}%{?beta:-%{beta}}
Marcin Garski 3d7cc6d
22b1b6e
Marcin Garski 3d7cc6d
%build
Marcin Garski 328d1c6
unset QTDIR || : ; . %{_sysconfdir}/profile.d/qt.sh
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%configure \
Marcin Garski 3d7cc6d
	--disable-rpath \
b46d886
	--enable-new-ldflags \
Marcin Garski 5c61e76
	--disable-debug \
Marcin Garski 5c61e76
	--disable-warnings \
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
b46d886
desktop-file-install --vendor="" \
b46d886
	--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
Marcin Garski 7217b66
	--add-category Photography \
Marcin Garski 73e6d5a
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/%{name}.desktop
Marcin Garski 3d7cc6d
b46d886
desktop-file-install --vendor="" \
b46d886
	--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
Marcin Garski 7217b66
	--add-category Photography \
Marcin Garski 3d7cc6d
	$RPM_BUILD_ROOT%{_datadir}/applications/kde/showfoto.desktop
Marcin Garski 3d7cc6d
ffd0853
%find_lang %{name} || touch %{name}.lang
Marcin Garski 3d7cc6d
Marcin Garski fcd85c0
rm -f $RPM_BUILD_ROOT%{_libdir}/libdigikam.la
Marcin Garski fcd85c0
Marcin Garski 5c61e76
# Create symlinks in pixmaps directory
87a133c
# FIXME: this shouldn't be necessary anymore -- Rex
Marcin Garski 5c61e76
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
Marcin Garski 5c61e76
ln -sf ../icons/hicolor/48x48/apps/digikam.png \
Marcin Garski 5c61e76
	$RPM_BUILD_ROOT%{_datadir}/pixmaps/digikam.png
Marcin Garski 5c61e76
ln -sf ../icons/hicolor/48x48/apps/showfoto.png \
Marcin Garski 5c61e76
	$RPM_BUILD_ROOT%{_datadir}/pixmaps/showfoto.png
Marcin Garski 5c61e76
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
b46d886
%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 0702c78
%{_libdir}/kde3/digikamimageplugin_*.la
Marcin Garski 0702c78
%{_libdir}/kde3/digikamimageplugin_*.so
Marcin Garski 3d7cc6d
%{_libdir}/kde3/kio_digikam*.la
Marcin Garski 3d7cc6d
%{_libdir}/kde3/kio_digikam*.so
b46d886
%{_datadir}/applications/kde/*.desktop
Marcin Garski 3d7cc6d
%{_datadir}/apps/digikam/
Marcin Garski 501d374
%{_datadir}/apps/konqueror/servicemenus/*.desktop
Marcin Garski 3d7cc6d
%{_datadir}/apps/showfoto/
b46d886
%{_datadir}/icons/hicolor/*/*/*
Marcin Garski 501d374
%{_mandir}/man1/*.1*
Marcin Garski 5c61e76
%{_datadir}/pixmaps/*.png
Marcin Garski 3d7cc6d
%{_datadir}/services/digikam*
Marcin Garski 3d7cc6d
%{_datadir}/servicetypes/digikamimageplugin.desktop
Marcin Garski 3d7cc6d
Marcin Garski 3d7cc6d
%files devel
Marcin Garski 0702c78
%defattr(-,root,root,-)
Marcin Garski 3d7cc6d
%{_includedir}/digikam/
Marcin Garski 3d7cc6d
%{_includedir}/digikam_export.h
Marcin Garski 3d7cc6d
%{_libdir}/libdigikam.so
Marcin Garski 3d7cc6d
bfc353e
Marcin Garski 3d7cc6d
%changelog
67f27e1
* Thu Jul 03 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-0.4.rc2
67f27e1
- digikam-0.9.4-rc2
67f27e1
1be38fa
* Wed Jun 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-0.3.rc1
1be38fa
- digikam-0.9.4-rc1
1be38fa
111ab90
* Mon May 26 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-0.2.beta5
111ab90
- digikam-0.9.4-beta5
111ab90
bfc353e
* Thu May 08 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.4-0.1.beta4
bfc353e
- digikam-0.9.4-beta4
bfc353e
dcb0517
* Fri Mar 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-3
dcb0517
- respin (for libkdcraw)
acfd7a6
c526641
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.3-2
c526641
- Autorebuild for GCC 4.3
c526641
Marcin Garski c18b56c
* Sat Dec 22 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.3-1
Marcin Garski c18b56c
- Update to 0.9.3
Marcin Garski c18b56c
- BR: libkexiv2-devel >= 0.1.6 libkdcraw-devel >= 0.1.2
Marcin Garski c18b56c
ffd0853
* Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.5.rc1
2aae1ee
- digikam-0.9.3-rc1
5102d51
- BR: kdelibs3-devel
2aae1ee
eedc2cf
* Thu Nov 20 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.2.beta3
eedc2cf
- digikam-0.9.3-beta3
eedc2cf
4a40c9c
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-0.1.beta2
4a40c9c
- digikam-0.9.3-beta2
4a40c9c
Marcin Garski 75583c1
* Tue Sep 18 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-5
Marcin Garski 75583c1
- Rebuild
Marcin Garski 75583c1
87a133c
* Wed Aug 29 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.3-4
87a133c
- License: GPLv2+
87a133c
- lcms patch (kde bug #148930)
87a133c
d79c453
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.9.2-3
d79c453
- Rebuild for selinux ppc32 issue.
d79c453
Marcin Garski 5c61e76
* Fri Jun 22 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-2
Marcin Garski 5c61e76
- Create symlinks in pixmaps directory (#242978)
Marcin Garski 5c61e76
Marcin Garski 4440b2f
* Tue Jun 19 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-1
Marcin Garski 4440b2f
- Update to version 0.9.2-final
Marcin Garski 4440b2f
- Remove digikam-0.9.2-beta3-fix-exiv2-dep.patch, merged upstream
Marcin Garski 4440b2f
Marcin Garski 7217b66
* Wed Jun 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.3.beta3
Marcin Garski 7217b66
- Fix .desktop category
Marcin Garski 7217b66
Marcin Garski 2fbeaf3
* Wed Jun 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.2.beta3
Marcin Garski 2fbeaf3
- Fix broken compilation caused by Exiv2 dependency
Marcin Garski 2fbeaf3
Marcin Garski 0702c78
* Tue Jun 05 2007 Marcin Garski <mgarski[AT]post.pl> 0.9.2-0.1.beta3
Marcin Garski 0702c78
- Update to version 0.9.2-beta3 (merge with digikamimageplugins)
Marcin Garski 0702c78
- Update description
Marcin Garski 0702c78
b46d886
* Mon May 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.1-3
b46d886
- respin against libkexiv2-0.1.5
b46d886
- preserve upstream .desktop vendor (f7 branch at least)
b46d886
22b1b6e
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.9.1-2
22b1b6e
- exiv2-0.14 patch
22b1b6e
- cleanup/simplify BR's,Requires,d-f-i usage
22b1b6e
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