Init package

This commit is contained in:
dillon chen 2020-07-17 15:32:05 +08:00
parent d593a852f7
commit 6bd610367e
2 changed files with 61 additions and 0 deletions

Binary file not shown.

61
xfce4-places-plugin.spec Normal file
View File

@ -0,0 +1,61 @@
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-places-plugin
Version: 1.8.1
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 README TODO
%license COPYING
%{_bindir}/xfce4-popup-places
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.8.1-1
- Init package