Init package
This commit is contained in:
parent
7ae25a8828
commit
2b48997b23
BIN
xfce4-mount-plugin-1.1.3.tar.bz2
Normal file
BIN
xfce4-mount-plugin-1.1.3.tar.bz2
Normal file
Binary file not shown.
51
xfce4-mount-plugin.spec
Normal file
51
xfce4-mount-plugin.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
%global xfceversion 4.14
|
||||||
|
%global _hardened_build 1
|
||||||
|
|
||||||
|
Name: xfce4-mount-plugin
|
||||||
|
Version: 1.1.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Mount/unmount utility 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.1/%{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: gettext
|
||||||
|
BuildRequires: intltool
|
||||||
|
Requires: xfce4-panel >= %{xfceversion}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This plugin displays a list of the various devices available, giving the opportunity to mount/umount them.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
%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 ChangeLog README TODO
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/xfce4/panel/plugins/*.so
|
||||||
|
%{_datadir}/xfce4/panel/plugins/*.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 15 2020 <dillon.chen@turbolinux.com.cn> - 1.1.3-1
|
||||||
|
- Init package
|
||||||
Loading…
x
Reference in New Issue
Block a user