File xfce4-smartbookmark-plugin.spec of Package xfce4-smartbookmark-plugin

Name:           xfce4-smartbookmark-plugin
Version:        0
Release:        0
Summary:        Upstream %{name}
License:        GPL-2.0
Group:          System/GUI/XFCE
URL:            https://gitlab.xfce.org/panel-plugins/xfce4-smartbookmark-plugin
Patch0:         %{name}.patch
Requires:       %{name}-lang = %{version}-%{release}
Requires:  xfce4-panel
Provides:  xfce4-panel-plugin-smartbookmark = %{version}-%{release}
Provides:  xfce4-panel-plugin-smartbookmark-lang = %{version}-%{release}
Obsoletes: xfce4-panel-plugin-smartbookmark
Obsoletes: xfce4-panel-plugin-smartbookmark-debuginfo
Obsoletes: xfce4-panel-plugin-smartbookmark-debugsource
Obsoletes: xfce4-panel-plugin-smartbookmark-lang

BuildRequires:  xfce4-dev-tools
BuildRequires:  pkgconfig(libxfce4ui-2)
BuildRequires:  pkgconfig(libxfce4panel-2.0)
%description
%lang_package
%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
%{_datadir}/xfce4
%{_libdir}/xfce4
%files lang -f %{name}.lang
openSUSE Build Service is sponsored by