Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xfce4-dict
xfce4-dict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-dict.spec of Package xfce4-dict
# # spec file for package xfce4-dict # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define panel_version 4.7.0 Name: xfce4-dict Version: 0.6.0 Release: 0 Summary: Xfce Dictionary Client Application License: GPL-2.0+ Group: Productivity/Office/Dictionary Url: http://goodies.xfce.org/projects/applications/xfce4-dict Source: http://archive.xfce.org/src/apps/xfce4-dict/0.6/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM xfce4-dict-0.6.0-use-correct-xfcepanelplugin-instance.patch gber@opensuse.org -- Fix wrong callback argument (backported from git) Patch0: xfce4-dict-0.6.0-use-correct-xfcepanelplugin-instance.patch # PATCH-FIX-OPENSUSE xfce4-dict-0.6.0-fix-wrong-callback-arg.patch gber@opensuse.org -- Use the correct XfcePanelPlugin instance when opening the preferences dialog to prevent crashes (backported from git) Patch1: xfce4-dict-0.6.0-fix-wrong-callback-arg.patch # PATCH-FIX-UPSTREAM xfce4-dict-fix-libm-underlinking.patch bxo#7984 gber@opensuse.org -- Link explicitly against libm (backported from git) Patch2: xfce4-dict-fix-libm-underlinking.patch BuildRequires: intltool BuildRequires: update-desktop-files BuildRequires: xfce4-dev-tools BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfcegui4-1.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build # uses xdg-open Requires: xdg-utils Recommends: %{name}-lang = %{version} Suggests: xfce4-panel-plugin-dict %description xfce4-dict allows you to search different kinds of dictionary services for words or phrases and shows you the result. Currently you can query a Dict server (RFC 2229), any online dictionary service by opening a web browser or search for words using the aspell/ispell program. %package -n xfce4-panel-plugin-dict Summary: Dictionary Plugin for the Xfce Panel Group: Productivity/Office/Dictionary Requires: %{name} = %{version} Requires: xfce4-panel >= %{panel_version} %description -n xfce4-panel-plugin-dict This package contains the xfce4-dict dictionary plugin for the Xfce panel. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build xdt-autogen %configure make %{?_smp_mflags} V=1 %install %make_install %suse_update_desktop_file -r %{name} Office Dictionary GTK rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{name} %clean rm -rf %{buildroot} %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README %{_bindir}/xfce4-dict %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/* %{_mandir}/man1/xfce4-dict.1* %files -n xfce4-panel-plugin-dict %defattr(-,root,root) %{_libexecdir}/xfce4/panel-plugins/xfce4-dict-plugin %{_datadir}/xfce4/panel-plugins/*.desktop %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor