diff --git a/README.md b/README.md index ff94290..7875eee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xsettingsd +A daemon that implements the XSETTINGS specification. + diff --git a/xsettingsd.spec b/xsettingsd.spec new file mode 100644 index 0000000..c03be73 --- /dev/null +++ b/xsettingsd.spec @@ -0,0 +1,51 @@ +Name: xsettingsd +Version: 1.0.0 +Release: 1mamba +Summary: A daemon that implements the XSETTINGS specification +Group: Graphical Desktop/Applications/Configuration +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/derat/xsettingsd.git +Source: https://github.com/derat/xsettingsd.git/v%{version}/xsettingsd-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: scons +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A daemon that implements the XSETTINGS specification. + +%debug_package + +%prep +%setup -q + +%build +scons xsettingsd dump_xsettings + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m755 xsettingsd dump_xsettings -t %{buildroot}%{_bindir} +install -Dm644 xsettingsd.1 dump_xsettings.1 -t %{buildroot}%{_mandir}/man1/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/dump_xsettings +%{_bindir}/xsettingsd +%{_mandir}/man1/dump_xsettings.1* +%{_mandir}/man1/xsettingsd.1* +%doc COPYING + +%changelog +* Tue Aug 25 2020 Silvan Calarco 1.0.0-1mamba +- package created using the webbuild interface