Summary: A KDE frontend for gphoto2
Summary(pl): Interfejs KDE do gphoto2
Name: digikam
-Version: 0.6.1
-Release: 1
+Version: 0.6.2
+Release: 0.1
License: GPL
Group: X11/Applications
-Source0: http://digikam.free.fr/Tarballs/%{name}-%{version}.tar.bz2
-# Source0-md5: ad3a349a05306a6cd76a268510cc9253
+Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: 842fd284823b48392a659936246da685
+Patch0: %{name}-desktop.patch
URL: http://digikam.sourceforge.net/
+BuildRequires: automake
BuildRequires: kdelibs-devel
BuildRequires: kdesdk-po2xml
BuildRequires: libexif-devel >= 1:0.5.7
Interfejs KDE do gphoto2 - pliki nag³ówkowe.
%prep
-%setup -q -n %{name}3
+%setup -q -n %{name}
+%patch0 -p1
%build
+cp -f /usr/share/automake/config.sub admin
-#%{__make} -f admin/Makefile.common configure.in
+#%%{__make} -f admin/Makefile.common configure.in
#cp admin/acinclude.m4.in ./acinclude.m4
-#%{__libtoolize}
-#%{__aclocal}
-#%{__autoconf}
-#%{__autoheader}
-#%{__automake}
-#%{__perl} -w admin/am_edit
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
+#%%{__perl} -w admin/am_edit
%configure \
--disable-rpath
install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
mv $RPM_BUILD_ROOT/usr/share/applnk/Graphics/*.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
-echo 'Categories=Graphics;Photograph;' >> $RPM_BUILD_ROOT%{_desktopdir}/kde/%{name}.desktop
%find_lang %{name} --with-kde