File gigolo.spec of Package gigolo

Name:           gigolo
Version:        0
Release:        0
Summary:        Upstream %{name}
License:        GPL-2.0
Group:          System/GUI/XFCE
Url:            https://git.xfce.org/apps/gigolo
Source0: %{name}-%{version}.tar
#KEEP NOSOURCE DEBUGINFO
NoSource: 0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnome-icon-theme
BuildRequires:  xfce4-dev-tools
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(x11)
%description
%lang_package
%prep
%autosetup -p1
%build
sed -i 's/^Icon=gtk-network/Icon=%{name}/' gigolo.desktop.in
env \
revision='%{version}' \
bash autogen.sh --help
%configure \
	--with-helper-path-prefix=%{_libexecdir} \
	--enable-maintainer-mode \
	--disable-debug \
	--disable-dependency-tracking \
	--disable-silent-rules \
	--disable-static
%make_build
%install
%make_install
find %{buildroot} -name "*.la" -print -delete
%find_lang %{name}
%suse_update_desktop_file -i %{name} System GTK Filesystem
install -D -m 0644 /usr/share/icons/gnome/256x256/places/gtk-network.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
rm -rfv %{buildroot}%{_datadir}/doc
%files
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
%{_mandir}/man*/*
%files lang -f %{name}.lang
openSUSE Build Service is sponsored by