SHA256
1
0
forked from pool/yakuake

Accepting request 76845 from KDE:Distro:Factory

spec-cleanup, remove unneeded BuildReq, use fdupes (forwarded request 76842 from cgiboudeaux)

OBS-URL: https://build.opensuse.org/request/show/76845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yakuake?expand=0&rev=22
This commit is contained in:
Sascha Peilicke 2011-07-25 07:10:35 +00:00 committed by Git OBS Bridge
parent d4953c9a3c
commit faa716e809

View File

@ -14,37 +14,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: yakuake
BuildRequires: kdebase4-workspace-devel
License: GPLv2+
Url: http://kde-apps.org/content/show.php?content=29153
Group: System/GUI/KDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Terminal for KDE
Version: 2.9.8
Release: 1
Source: yakuake-%{version}.tar.bz2
License: GPLv2+
Summary: Terminal for KDE
Url: http://kde-apps.org/content/show.php?content=29153
Group: System/GUI/KDE
Source: %{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: libkde4-devel
Requires: konsole
Provides: kde4-yakuake = 2.9.4
Obsoletes: kde4-yakuake <= 2.9.4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Yakuake is a retractable KDE Terminal Emulator.
Authors:
--------
Eike Hein <hein@kde.org> (current maintainer)
Francois Chazal <neptune3k@free.fr> (inactive; original author)
%prep
%setup -n yakuake-%{version} -q
%setup -q
%build
%cmake_kde4 -d build
@ -52,23 +42,24 @@ Authors:
%install
cd build
%makeinstall
%make_install
%suse_update_desktop_file -G "Terminal Program" yakuake System TerminalEmulator
%find_lang yakuake
%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f build/yakuake.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING COPYING.DOC NEWS
/usr/bin/yakuake
/usr/share/applications/kde4/yakuake.desktop
/usr/share/icons/hicolor/*/apps/yakuake.*
/usr/share/kde4/apps/yakuake
%{_kde4_applicationsdir}/yakuake.desktop
%{_kde4_appsdir}/yakuake
%{_kde4_bindir}/yakuake
%{_kde4_iconsdir}/hicolor/
%changelog