gluqlo/gluqlo.spec

65 lines
2.4 KiB
RPMSpec

Name: gluqlo
Version: 0.20190706git
Release: 1mamba
Summary: A SDL remake of well-known awesome Fliqlo screensaver
Group: Graphical Desktop/Look 'n' feel/Screensavers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/alexanderk23/gluqlo.git
## GITSOURCE https://github.com/alexanderk23/gluqlo.git master
Source: https://github.com/alexanderk23/gluqlo.git/master/gluqlo-%{version}.tar.bz2
License: ISC
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_gfx-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gluqlo (or Глюкало, if you prefer) is a SDL remake of well-known awesome Fliqlo screensaver which is originally avaliable for Windows and OSX platforms only. Gluqlo is inspired by (and to some extent is based on) noflipqlo aka Now Open Flipqlo 2.0 by Jacek Kuźniarski. Currently it's very close to original Fliqlo (as I hope).
%package -n xscreensaver-gluqlo
Summary: A SDL remake of well-known awesome Fliqlo screensaver
Group: Graphical Desktop/Look 'n' feel/Screensavers
Requires: xscreensaver-daemon
%description -n xscreensaver-gluqlo
Gluqlo (or Глюкало, if you prefer) is a SDL remake of well-known awesome Fliqlo screensaver which is originally avaliable for Windows and OSX platforms only. Gluqlo is inspired by (and to some extent is based on) noflipqlo aka Now Open Flipqlo 2.0 by Jacek Kuźniarski. Currently it's very close to original Fliqlo (as I hope).
%debug_package
%prep
%setup -q
sed -i "s|-o root||" Makefile
sed -i "s|/usr/share/xscreensaver/config|%{_sysconfdir}/xscreensaver|" Makefile
sed -i "s|/usr/lib|%{_libexecdir}|" Makefile gluqlo.desktop
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n xscreensaver-gluqlo
%defattr(-,root,root)
%{_sysconfdir}/xscreensaver/gluqlo.xml
%{_libexecdir}/xscreensaver/gluqlo
%{_datadir}/applications/screensavers/gluqlo.desktop
%{_datadir}/gluqlo/gluqlo.ttf
%{_datadir}/pixmaps/gluqlo.png
%doc LICENSE
%changelog
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20190706git-1mamba
- package created using the webbuild interface