File xfce4-clipman-plugin.spec of Package xfce4-clipman-plugin
Name: xfce4-clipman-plugin
Version: 0
Release: 0
Summary: Upstream %{name}
License: GPL-2.0
Group: System/GUI/XFCE
URL: https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin
Patch0: %{name}.patch
Requires: %{name}-lang = %{version}-%{release}
Requires: xfce4-panel
Provides: xfce4-panel-plugin-clipman = %{version}-%{release}
Provides: xfce4-panel-plugin-clipman-lang = %{version}-%{release}
Obsoletes: xfce4-panel-plugin-clipman
Obsoletes: xfce4-panel-plugin-clipman-debuginfo
Obsoletes: xfce4-panel-plugin-clipman-debugsource
Obsoletes: xfce4-panel-plugin-clipman-lang
BuildRequires: xfce4-dev-tools
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxfce4ui-2)
BuildRequires: pkgconfig(libxfce4util-1.0)
BuildRequires: pkgconfig(libxfce4panel-2.0)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(libqrencode)
%description
%lang_package
%package branding-upstream
Summary: Upstream %{name}
Group: System/GUI/XFCE
Requires: %{name} = %{version}-%{release}
Provides: %{name}-branding = %{version}-%{release}
%description branding-upstream
%prep
rm -rf %_builddir/%name-%version
mv %_sourcedir/%name-%version %_builddir/%name-%version
%setup -c -T -D
%autopatch -p1
%build
env \
revision='%{version}' \
bash autogen.sh --help
%configure \
--enable-maintainer-mode \
--disable-debug \
--disable-dependency-tracking \
--disable-silent-rules \
--disable-static \
%{nil}
%xfce_post_configure
%make_build
%install
%make_install
find %{buildroot} -name "*.la" -print -delete
%find_lang %{name}
%files
%doc config.log.xz
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/metainfo/*
%{_datadir}/xfce4
%{_libdir}/xfce4
%files lang -f %{name}.lang
%files branding-upstream
%config %{_sysconfdir}/xdg/autostart/*
%config %{_sysconfdir}/xdg/xfce4