SPECS: kding.spec (NEW) - new
glen
glen at pld-linux.org
Sun Mar 26 18:23:11 CEST 2006
Author: glen Date: Sun Mar 26 16:23:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
kding.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/kding.spec
diff -u /dev/null SPECS/kding.spec:1.1
--- /dev/null Sun Mar 26 18:23:11 2006
+++ SPECS/kding.spec Sun Mar 26 18:23:06 2006
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary: KDE frontend for Ding, a dictionary lookup program
+Name: kding
+Version: 0.3
+Release: 0.1
+License: GPL v2
+Group: Applications/Dictionaries
+Source0: http://www.rexi.org/downloads/kding/%{name}-%{version}.tar.bz2
+# Source0-md5: 825bc68ea7fb123a18d54d42b1fd2876
+Patch0: %{name}-desktop.patch
+URL: http://www.rexi.org/software/kding/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: kdelibs-devel >= 9:3.2.0
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KDing is a KDE frontend for Ding, a dictionary lookup program. It sits
+in KDE's system tray and can translate the current clipboard content.
+Users can also enter single words or phrases for translation. It is
+intended to be used for translating between German and English, but
+can be used with every language for which a word list is available for
+Ding.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+cp -f /usr/share/automake/config.sub admin
+%{__make} -f admin/Makefile.common cvs
+
+%configure \
+%if "%{_lib}" == "lib64"
+ --enable-libsuffix=64 \
+%endif
+ --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+ --with-qt-libraries=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir} \
+ kde_libs_htmldir=%{_kdedocdir} \
+ shelldesktopdir=%{_desktopdir} \
+
+%find_lang %{name} --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_iconsdir}/*/*/apps/%{name}.png
+%{_datadir}/apps/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/03/26 16:23:06 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list