%global majorver 1.0 Name: xfpanel-switch Version: 1.0.3 Release: 1%{?dist} Summary: A simple application to manage Xfce panel layouts License: GPLv3 URL: https://launchpad.net/%{name} Source0: https://launchpad.net/%{name}/%{majorver}/%{version}/+download/%{name}-%{version}.tar.bz2 BuildRequires: python BuildRequires: gettext BuildRequires: intltool BuildArch: noarch Requires: xfce4-panel %description A simple application to manage Xfce panel layouts With the modular Xfce Panel, a multitude of panel layouts can be created. This tool makes it possible to backup, restore, import, and export these panel layouts. %prep %setup -q # remove "xubuntu" layouts rm -fr data/layouts/xubuntu* sed -i '/cd data\/layouts\/xubuntu-*/d' Makefile.in.in sed -i '/COPYING $(DESTDIR)\/$(PREFIX)\/share\/doc/d' Makefile.in.in %build ./configure --prefix=/usr make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_datadir}/licenses/%{name} cp -p COPYING %{buildroot}%{_datadir}/licenses/%{name}/ %find_lang %{name} %files -f %{name}.lang %{license} COPYING %doc NEWS AUTHORS README INSTALL %{_datadir}/%{name}/* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %changelog * Sat Mar 5 2016 Mukundan Ragavan - Inital package