SHA256
1
0
forked from pool/parley

Accepting request 82328 from KDE:Distro:Factory

Forward to Factory

OBS-URL: https://build.opensuse.org/request/show/82328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parley?expand=0&rev=5
This commit is contained in:
Lars Vogdt 2011-09-19 15:56:27 +00:00 committed by Git OBS Bridge
parent 76ebb1f960
commit 250bbbfa4a
2 changed files with 24 additions and 25 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 13 12:41:10 UTC 2011 - toddrme2178@gmail.com
- Fixed script permissions (fix for RPMLINT warning)
- Removed tests for obsolete openSUSE versions (fix for RPMLINT warning)
- Cleaned up spec file formatting
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 1 23:30:51 CEST 2011 - dmueller@suse.de Thu Sep 1 23:30:51 CEST 2011 - dmueller@suse.de

View File

@ -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: parley Name: parley
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
@ -30,18 +30,10 @@ BuildRequires: libkdeedu4-devel
BuildRequires: libopenbabel-devel BuildRequires: libopenbabel-devel
BuildRequires: libqalculate-devel BuildRequires: libqalculate-devel
BuildRequires: libspectre-devel BuildRequires: libspectre-devel
BuildRequires: python-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 %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
@ -66,7 +58,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Parley is a vocabulary trainer for KDE. Parley is a vocabulary trainer for KDE.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
%build %build
%ifarch ppc ppc64 %ifarch ppc ppc64
@ -81,25 +73,25 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%suse_update_desktop_file %{name} Education Languages %suse_update_desktop_file %{name} Education Languages
%kde_post_install %kde_post_install
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
chmod a+x %{buildroot}%{_kde4_appsdir}/parley/plugins/*.py
%clean %clean
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/parley %{_kde4_applicationsdir}/parley.desktop
%_kde4_modulesdir/plasma*.so %{_kde4_appsdir}/desktoptheme/default/widgets/parley_plasma_card.svg
%_kde4_applicationsdir/parley.desktop %{_kde4_appsdir}/parley/
%_kde4_htmldir/en/parley/ %{_kde4_bindir}/parley
%_kde4_iconsdir/hicolor/*/apps/parley*.* %config %{_kde4_configkcfgdir}/*.kcfg
%_kde4_appsdir/desktoptheme/default/widgets/parley_plasma_card.svg %config %{_kde4_configdir}/parley*
%_kde4_appsdir/parley/ %doc %{_kde4_htmldir}/en/parley/
%_kde4_sharedir/config.kcfg/*.kcfg %{_kde4_iconsdir}/hicolor/*/apps/parley*.*
%_kde4_configdir/parley* %{_kde4_modulesdir}/plasma*.so
%_kde4_servicesdir/*.desktop %{_kde4_servicesdir}/*.desktop
%changelog %changelog