]> git.pld-linux.org Git - packages/digikam.git/blobdiff - digikam.spec
- properly commented out macros
[packages/digikam.git] / digikam.spec
index 353ee894e2731382c0b29a1327e3d05382ef36c8..21a31f02c7e3dd468baab2ae32461e36f4f564b2 100644 (file)
 
 Summary:       A KDE frontend for gphoto2
+Summary(pl):   Interfejs KDE do gphoto2
 Name:          digikam
-Version:       0.5.1
-Release:       1
+Version:       0.6.2
+Release:       0.1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/digikam/%{name}-%{version}.tar.gz
-# Source0-md5: 94ec87692a673a5a479162041a10e2fc
+Source0:       http://digikam.free.fr/Tarballs/%{name}-%{version}.tar.bz2
+# Source0-md5: 842fd284823b48392a659936246da685
+Patch0:                %{name}-desktop.patch
 URL:           http://digikam.sourceforge.net/
-BuildRequires: libgphoto2-devel
+BuildRequires: automake
 BuildRequires: kdelibs-devel
+BuildRequires: kdesdk-po2xml
+BuildRequires: libexif-devel >= 1:0.5.7
+BuildRequires: libgphoto2-devel
+BuildRequires: lockdev-devel
+BuildRequires: imlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _htmldir        /usr/share/doc/kde/HTML
-%define         _prefix         /usr/X11R6
-%define         _mandir         %{_prefix}/man
-
-
 %description
 Designed to be a standalone application to preview and download images
-from a digital camera on a linux machine.
+from a digital camera on a Linux machine.
+
+%description -l pl
+Samodzielna aplikacja do ogl±dania i ¶ci±gania obrazków z aparatów
+cyfrowych pod Linuksem.
+
+%package devel
+Summary:       A KDE frontend for gphoto2 - header files
+Summary(pl):   Interfejs KDE do gphoto2 - pliki nag³ówkowe
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      kdelibs-devel
+Requires:      libgphoto2-devel
+
+%description devel
+A KDE frontend for gphoto2 - header files.
+
+%description -l pl
+Interfejs KDE do gphoto2 - pliki nag³ówkowe.
 
 %prep
-%setup -q
+%setup -q -n %{name}3
+%patch0 -p1
 
 %build
-kde_appsdir="%{_applnkdir}"; export kde_appsdir
-kde_htmldir="%{_htmldir}"; export kde_htmldir
-kde_icondir="%{_pixmapsdir}"; export kde_icondir
+cp -f /usr/share/automake/config.sub admin
 
+#%%{__make} -f admin/Makefile.common configure.in
+#cp admin/acinclude.m4.in ./acinclude.m4
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
+#%%{__perl} -w admin/am_edit
 
-%configure2_13 \
-       --disable-rpath \
-       --enable-final
+%configure \
+       --disable-rpath
 
 %{__make}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       'kde_htmldir=%{_kdedocdir}'
+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
 
 %find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Graphics/*
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%attr(755,root,root) %{_libdir}/kde3/*.so
+%{_libdir}/kde3/*.la
+%{_datadir}/services/*
+%{_datadir}/servicetypes/*
 %{_datadir}/apps/digikam
-%{_pixmapsdir}/[!l]*/*/*/*
+%{_datadir}/apps/digikamcameraclient
+%{_desktopdir}/kde/*.desktop
+%{_iconsdir}/[!l]*/*/*/*
+%{_mandir}/man1/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
+%{_includedir}/digikam
This page took 0.100741 seconds and 4 git commands to generate.