Initial set of files from osc repo.
This commit is contained in:
commit
64013dc81e
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.osc
|
||||||
|
build.specials.obscpio
|
||||||
|
series
|
||||||
|
*.obscpio
|
||||||
|
rofi/
|
BIN
0.3.tar.gz
Normal file
BIN
0.3.tar.gz
Normal file
Binary file not shown.
15
fix-build.patch
Normal file
15
fix-build.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -20,7 +20,7 @@ protocol/wlr-data-control-unstable-v1-cl
|
||||||
|
wayland-scanner client-header protocol/wlr-data-control-unstable-v1.xml protocol/wlr-data-control-unstable-v1-client-protocol.h
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
- $(CC) -Wall -Wpedantic -c $< -o $@
|
||||||
|
+ $(CC) -Wall -Wpedantic $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -Dm755 -t $(DESTDIR)$(PREFIX)/bin waycopy waypaste
|
4
wayclip.changes
Normal file
4
wayclip.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 4 12:41:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging effort for wayclip 0.3.
|
56
wayclip.spec
Normal file
56
wayclip.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#
|
||||||
|
# spec file for package wayclip
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: wayclip
|
||||||
|
Version: 0.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Wayland clipboard utility
|
||||||
|
License: ISC
|
||||||
|
URL: https://sr.ht/~noocsharp/wayclip
|
||||||
|
Source: https://git.sr.ht/~noocsharp/wayclip/archive/%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM fix-build.patch bsc#[0-9]+ mcepl@suse.com
|
||||||
|
# GCC should react on $CFLAGS as well
|
||||||
|
Patch0: fix-build.patch
|
||||||
|
BuildRequires: pkgconf
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(wayland-client)
|
||||||
|
|
||||||
|
%description
|
||||||
|
wayclip is a pair of command-line utilities: waycopy
|
||||||
|
and waypaste, which allow access to the Wayland
|
||||||
|
clipboard. Specifically, wayclip is a wlr-data-control protocol
|
||||||
|
client.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags} $(pkgconf --cflags wayland-client)"
|
||||||
|
export LDLAGS="%{optflags} $(pkgconf --libs wayland-client)"
|
||||||
|
%make_build CC=gcc PREFIX="%{_prefix}"
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install CC=gcc PREFIX="%{_prefix}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/waycopy
|
||||||
|
%{_bindir}/waypaste
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user