forked from pool/khangman
Accepting request 83716 from KDE:Distro:Factory
- 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 (forwarded request 83707 from TheBlackCat) (forwarded request 83708 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/83716 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/khangman?expand=0&rev=5
This commit is contained in:
parent
dde5995014
commit
5b16cb4cf3
@ -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
|
Thu Sep 1 23:20:52 CEST 2011 - dmueller@suse.de
|
||||||
|
|
||||||
|
@ -15,11 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: khangman
|
Name: khangman
|
||||||
|
BuildRequires: avogadro-devel
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
|
BuildRequires: glew-devel
|
||||||
BuildRequires: gsl-devel
|
BuildRequires: gsl-devel
|
||||||
BuildRequires: kdebase4-workspace-devel
|
BuildRequires: kdebase4-workspace-devel
|
||||||
BuildRequires: libcfitsio-devel
|
BuildRequires: libcfitsio-devel
|
||||||
@ -32,16 +32,6 @@ BuildRequires: libqalculate-devel
|
|||||||
BuildRequires: libspectre-devel
|
BuildRequires: libspectre-devel
|
||||||
BuildRequires: python-qt4-devel
|
BuildRequires: python-qt4-devel
|
||||||
BuildRequires: readline-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)
|
# currently in DOESNOTBUILD (2008-07-03)
|
||||||
%ifnarch ppc ppc64 s390 s390x
|
%ifnarch ppc ppc64 s390 s390x
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
@ -55,18 +45,18 @@ Url: http://edu.kde.org
|
|||||||
Group: Amusements/Teaching/Language
|
Group: Amusements/Teaching/Language
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: libkdeedu4
|
|
||||||
Requires: libkeduvocdocument4
|
Requires: libkeduvocdocument4
|
||||||
Provides: kde4-khangman = 4.3.0
|
Provides: kde4-khangman = 4.3.0
|
||||||
Obsoletes: kde4-khangman < 4.3.0
|
Obsoletes: kde4-khangman < 4.3.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%kde4_runtime_requires
|
%kde4_runtime_requires
|
||||||
|
%py_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Classical hangman game for KDE
|
Classical hangman game for KDE
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
@ -88,18 +78,17 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_kde4_bindir/khangman
|
%{_kde4_applicationsdir}/khangman.desktop
|
||||||
%_kde4_applicationsdir/khangman.desktop
|
%{_kde4_appsdir}/khangman/
|
||||||
%_kde4_htmldir/en/khangman/
|
%{_kde4_bindir}/khangman
|
||||||
%_kde4_iconsdir/hicolor/*/apps/khangman.*
|
%config %{_kde4_configkcfgdir}/khangman.kcfg
|
||||||
%_kde4_appsdir/khangman/
|
%config %{_kde4_configdir}/khangman.knsrc
|
||||||
%_kde4_sharedir/config.kcfg/khangman.kcfg
|
%doc %{_kde4_htmldir}/en/khangman/
|
||||||
%_kde4_configdir/khangman.knsrc
|
%{_kde4_iconsdir}/hicolor/*/apps/khangman.*
|
||||||
%_kde4_mandir/man6/khangman.6.gz
|
%doc %{_kde4_mandir}/man6/khangman.6.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user