[kmouth] initial import

Jaroslav Reznik jreznik at fedoraproject.org
Tue Dec 13 16:42:55 UTC 2011


commit b6a18c16e83cee8c05a0f7e68bb59b7b832bca14
Author: Jaroslav Reznik <jreznik at redhat.com>
Date:   Tue Dec 13 17:42:50 2011 +0100

    initial import

 .gitignore  |    1 +
 kmouth.spec |   81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..deb2184 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kmouth-4.7.80.tar.bz2
diff --git a/kmouth.spec b/kmouth.spec
new file mode 100644
index 0000000..1c08784
--- /dev/null
+++ b/kmouth.spec
@@ -0,0 +1,81 @@
+Name:           kmouth
+Version:        4.7.80
+Release:        2%{?dist}
+Summary:        A program that speaks for you 
+
+License:        GPLv2+
+URL:            http://accessibility.kde.org/
+Source0:        ftp://ftp.kde.org/pub/kde/unstable/4.7.80/src/kmouth-%{version}.tar.bz2
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  kdelibs4-devel >= %{version}
+
+
+# when split occured
+Conflicts: kdeaccessibility < 1:4.7.80
+
+
+%description
+Program that allows people who have lost their voice to let their
+computer speak for them.
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+# hack around HTML doc multilib conflicts
+# HTML docs are no longer multilib'd, but meh.  -- Rex
+# is this still needed then??? -- Jaroslav
+pushd %{buildroot}%{_kde4_docdir}/HTML/en/kmouth
+bunzip2 index.cache.bz2
+sed -i -e 's!<a name="id[0-9]*"></a>!!g' index.cache
+bzip2 -9 index.cache
+popd
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/kmouth.desktop
+
+
+%post
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+  touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
+  gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null
+fi
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+
+%files
+%doc AUTHORS COPYING COPYING.DOC
+%{_kde4_bindir}/kmouth
+%{_kde4_appsdir}/kmouth/
+%{_kde4_configdir}/*rc
+%{_kde4_datadir}/applications/kde4/*.desktop
+%{_kde4_docdir}/HTML/en/kmouth/
+%{_kde4_iconsdir}/hicolor/*/*/*
+%{_mandir}/man1/*.1*
+
+%changelog
+* Tue Dec 13 2011 Jaroslav Reznik <jreznik at redhat.com> 4.7.80-2
+- fixed license comment
+
+* Mon Nov 28 2011 Jaroslav Reznik <jreznik at redhat.com> 4.7.80-1
+- initial package
diff --git a/sources b/sources
index e69de29..8948262 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+80cf8b5a2ebf1ce21f1ef7aba67db136  kmouth-4.7.80.tar.bz2


More information about the scm-commits mailing list