diff --git a/khangman.changes b/khangman.changes index 3601800..670b2fc 100644 --- a/khangman.changes +++ b/khangman.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Sep 17 21:04:19 UTC 2011 - toddrme2178@gmail.com + +- Removed requirement for non-existent libkdeedu4 package (fix for RPMLINT warning) +- Removed check for obsolete openSUSE versions (fix for RPMLINT warning) +- Cleaned up spec file formatting + ------------------------------------------------------------------- Thu Sep 1 23:20:52 CEST 2011 - dmueller@suse.de diff --git a/khangman.spec b/khangman.spec index ed2e558..1eb803e 100644 --- a/khangman.spec +++ b/khangman.spec @@ -15,11 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: khangman +BuildRequires: avogadro-devel BuildRequires: boost-devel BuildRequires: freeglut-devel +BuildRequires: glew-devel BuildRequires: gsl-devel BuildRequires: kdebase4-workspace-devel BuildRequires: libcfitsio-devel @@ -32,16 +32,6 @@ BuildRequires: libqalculate-devel BuildRequires: libspectre-devel BuildRequires: python-qt4-devel BuildRequires: readline-devel -%if 0%{?sles_version} == 0 -BuildRequires: glew-devel -BuildRequires: python -BuildRequires: python-devel -%if 0%{?suse_version} > 1120 -BuildRequires: avogadro-devel -%endif -%py_requires -%endif - # currently in DOESNOTBUILD (2008-07-03) %ifnarch ppc ppc64 s390 s390x BuildRequires: ocaml @@ -55,18 +45,18 @@ Url: http://edu.kde.org Group: Amusements/Teaching/Language Source0: %{name}-%{version}.tar.bz2 BuildRequires: fdupes -Requires: libkdeedu4 Requires: libkeduvocdocument4 Provides: kde4-khangman = 4.3.0 Obsoletes: kde4-khangman < 4.3.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires +%py_requires %description Classical hangman game for KDE %prep -%setup -q -n %{name}-%{version} +%setup -q %build %ifarch ppc ppc64 @@ -77,7 +67,7 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %install cd build -%make_install + %make_install %suse_update_desktop_file %{name} Education Languages %kde_post_install %if 0%{?suse_version} > 1020 @@ -87,19 +77,18 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %clean rm -rf %{buildroot} -%post -p /sbin/ldconfig - +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) -%_kde4_bindir/khangman -%_kde4_applicationsdir/khangman.desktop -%_kde4_htmldir/en/khangman/ -%_kde4_iconsdir/hicolor/*/apps/khangman.* -%_kde4_appsdir/khangman/ -%_kde4_sharedir/config.kcfg/khangman.kcfg -%_kde4_configdir/khangman.knsrc -%_kde4_mandir/man6/khangman.6.gz +%{_kde4_applicationsdir}/khangman.desktop +%{_kde4_appsdir}/khangman/ +%{_kde4_bindir}/khangman +%config %{_kde4_configkcfgdir}/khangman.kcfg +%config %{_kde4_configdir}/khangman.knsrc +%doc %{_kde4_htmldir}/en/khangman/ +%{_kde4_iconsdir}/hicolor/*/apps/khangman.* +%doc %{_kde4_mandir}/man6/khangman.6.gz %changelog