diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-11-08 16:13:32 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-11-08 16:13:32 +0100 |
commit | b6c0395a4d0b2ff4b4489c6462ff915922ddab0e (patch) | |
tree | edba74acbb68e9f9184c65c816eca250cd5e6156 /redhat/tdeedu | |
parent | b32071c696fbed648bdf0ac7b7e5e7f538927989 (diff) | |
download | tde-packaging-b6c0395a4d0b2ff4b4489c6462ff915922ddab0e.tar.gz tde-packaging-b6c0395a4d0b2ff4b4489c6462ff915922ddab0e.zip |
RPM packaging: update tdeedu
Diffstat (limited to 'redhat/tdeedu')
-rw-r--r-- | redhat/tdeedu/tdeedu-14.0.0.spec | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/redhat/tdeedu/tdeedu-14.0.0.spec b/redhat/tdeedu/tdeedu-14.0.0.spec index 7e5e65d39..bcf10a36c 100644 --- a/redhat/tdeedu/tdeedu-14.0.0.spec +++ b/redhat/tdeedu/tdeedu-14.0.0.spec @@ -67,11 +67,22 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: autoconf automake libtool m4 BuildRequires: desktop-file-utils +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + # PYTHON support BuildRequires: python-devel BuildRequires: python BuildRequires: gcc-c++ BuildRequires: desktop-file-utils +BuildRequires: fdupes # BOOST support BuildRequires: boost-devel @@ -1319,7 +1330,7 @@ Obsoletes: trinity-kdeedu-devel < %{version}-%{release} Provides: trinity-kdeedu-devel = %{version}-%{release} %description devel -%{summary}. +This package contains the development files for tdeedu. %files devel %defattr(-,root,root,-) @@ -1398,6 +1409,33 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file khangman Education Languages +%suse_update_desktop_file kiten Education Languages +%suse_update_desktop_file klatin Education Languages +%suse_update_desktop_file klettres Education Languages +%suse_update_desktop_file kverbos Education Languages +%suse_update_desktop_file kvoctrain Education Languages +%suse_update_desktop_file kwordquiz Education Languages +%suse_update_desktop_file kbruch Education Math +%suse_update_desktop_file kig Education Math +%suse_update_desktop_file kmplot Education Math +%suse_update_desktop_file kturtle Education Math +%suse_update_desktop_file kpercentage Education Math +%suse_update_desktop_file kalzium Education Chemistry +%suse_update_desktop_file kstars Education Astronomy +%suse_update_desktop_file keduca Education X-TDE-Edu-Teaching +%suse_update_desktop_file keducabuilder Education X-TDE-Edu-Teaching +%suse_update_desktop_file ktouch Education X-TDE-Edu-Teaching +%suse_update_desktop_file blinken Education X-TDE-Edu-Teaching +%suse_update_desktop_file kgeography Education X-TDE-Edu-Teaching +%suse_update_desktop_file kanagram Education Languages +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + %clean %__rm -rf %{buildroot} |