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:
parent
76ebb1f960
commit
250bbbfa4a
@ -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
|
||||
|
||||
|
42
parley.spec
42
parley.spec
@ -15,11 +15,11 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: parley
|
||||
BuildRequires: avogadro-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: gsl-devel
|
||||
BuildRequires: kdebase4-workspace-devel
|
||||
BuildRequires: libcfitsio-devel
|
||||
@ -30,18 +30,10 @@ BuildRequires: libkdeedu4-devel
|
||||
BuildRequires: libopenbabel-devel
|
||||
BuildRequires: libqalculate-devel
|
||||
BuildRequires: libspectre-devel
|
||||
BuildRequires: python-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
|
||||
@ -66,7 +58,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Parley is a vocabulary trainer for KDE.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%ifarch ppc ppc64
|
||||
@ -77,29 +69,29 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
%make_install
|
||||
%suse_update_desktop_file %{name} Education Languages
|
||||
%kde_post_install
|
||||
%fdupes -s %{buildroot}
|
||||
chmod a+x %{buildroot}%{_kde4_appsdir}/parley/plugins/*.py
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_kde4_bindir/parley
|
||||
%_kde4_modulesdir/plasma*.so
|
||||
%_kde4_applicationsdir/parley.desktop
|
||||
%_kde4_htmldir/en/parley/
|
||||
%_kde4_iconsdir/hicolor/*/apps/parley*.*
|
||||
%_kde4_appsdir/desktoptheme/default/widgets/parley_plasma_card.svg
|
||||
%_kde4_appsdir/parley/
|
||||
%_kde4_sharedir/config.kcfg/*.kcfg
|
||||
%_kde4_configdir/parley*
|
||||
%_kde4_servicesdir/*.desktop
|
||||
%{_kde4_applicationsdir}/parley.desktop
|
||||
%{_kde4_appsdir}/desktoptheme/default/widgets/parley_plasma_card.svg
|
||||
%{_kde4_appsdir}/parley/
|
||||
%{_kde4_bindir}/parley
|
||||
%config %{_kde4_configkcfgdir}/*.kcfg
|
||||
%config %{_kde4_configdir}/parley*
|
||||
%doc %{_kde4_htmldir}/en/parley/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/parley*.*
|
||||
%{_kde4_modulesdir}/plasma*.so
|
||||
%{_kde4_servicesdir}/*.desktop
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user