diff --git a/VERSION b/VERSION index ae39fab..b82608c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.0.0 +v0.1.0 diff --git a/spec/clipped-0.1.0.spec b/spec/clipped-0.1.0.spec new file mode 100644 index 0000000..71814ec --- /dev/null +++ b/spec/clipped-0.1.0.spec @@ -0,0 +1,44 @@ +Name: clipped +Version: 0.1.0 +Release: 1%{?dist} +Summary: X11 primary/clipboard selection monitor + +License: MIT +URL: https://github.com/jcrd/clipped +Source0: https://github.com/jcrd/clipped/archive/v0.1.0.tar.gz + +BuildRequires: gcc +BuildRequires: perl + +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xfixes) + +Requires: bash +Requires: xsel + +%global debug_package %{nil} + +%description +clipped monitors the ownership of the primary and clipboard X11 selections. When ownership changes, the name of the selection that changed is printed. +It also provides the clipsync script to synchronize content between the primary and clipboard selections using xclip. + +%prep +%setup + +%build +%make_build PREFIX=/usr + +%install +%make_install PREFIX=/usr + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_bindir}/clipsync +/usr/lib/systemd/user/clipsync.service +%{_mandir}/man1/%{name}.1.gz + +%changelog +* Sun May 24 2020 James Reed - 0.1.0 +- Initial package