[klavaro] Cleanup
Fabian Affolter
fab at fedoraproject.org
Thu Jun 21 21:39:47 UTC 2012
commit 781d675fcfeacb516953d791750cbd94742155e6
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Thu Jun 21 23:39:38 2012 +0200
Cleanup
klavaro.spec | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/klavaro.spec b/klavaro.spec
index 9474a9a..9ecfdee 100644
--- a/klavaro.spec
+++ b/klavaro.spec
@@ -7,7 +7,6 @@ Group: Applications/Multimedia
License: GPLv3+
URL: http://klavaro.sourceforge.net/en/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-Patch0: %{name}-linking.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python2-devel
@@ -15,29 +14,24 @@ BuildRequires: python-docutils
BuildRequires: python-ctypes
BuildRequires: gtkdatabox-devel
BuildRequires: libcurl-devel
-
BuildRequires: intltool
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
-
%description
Klavaro is a touch typing tutor that is very flexible and supports
customizable keyboard layouts. Users can edit and save new or unknown
keyboard layouts, as the basic course provided by the program was
designed to not depend on specific layouts.
-
%prep
%setup -q
-%patch0 -p1 -b .linking
%build
%configure
make %{?_smp_mflags}
-
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
@@ -51,26 +45,21 @@ desktop-file-install \
mkdir -p %{buildroot}%{_localstatedir}/games/%{name}
%find_lang %{name}
-
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%clean
rm -rf %{buildroot}
-
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
@@ -81,7 +70,6 @@ rm -rf %{buildroot}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
-
%changelog
* Thu Jun 21 2012 Fabian Affolter <mail at fabian-affolter.ch> - 1.9.5-1
- Updated to new upstream release 1.9.5
More information about the scm-commits
mailing list