xfce4-places-plugin/xfce4-places-plugin.spec
2023-01-04 18:31:55 +08:00

65 lines
1.8 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%global xfceversion 4.18
%global _hardened_build 1
Name: xfce4-places-plugin
Version: 1.8.3
Release: 1
Summary: Places menu for the Xfce panel
License: GPLv2+
#Group: Development/Libraries
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.8/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: xfconf-devel >= %{xfceversion}
BuildRequires: exo-devel >= 0.5.0
BuildRequires: libnotify-devel >= 0.4.0
BuildRequires: gettext
BuildRequires: intltool
Requires: xfce4-panel >= %{xfceversion}
%description
A menu with quick access to folders, documents, and removable media. The
Places plugin brings much of the functionality of GNOMEs Places menu to
Xfce. It puts a simple button on the panel. Clicking on this button opens up
a menu with 4 sections:
1) System folders: home directory, trash, desktop, file system
2) Removable media
3) User-defined bookmarks
4) Recent Documents
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
# remove la file
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# make sure debuginfo is generated properly
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS COPYING ChangeLog NEWS TODO
%license COPYING
%{_bindir}/xfce4-popup-places
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.8.3-1
- Update to 1.8.3
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.8.1-1
- Init package