diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6da5036 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/xkb-switch-532d92321ca15945e58e23c158b5e091eb2fdf18.tar.gz +/xkb-switch-d7c1856ac85b5a55577611cec4f2ceadc0907e12.tar.gz +/xkb-switch-da4ef22e362a0939556d20db50053ab631631adc.tar.gz +/xkb-switch-1.6.0.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..f03cb05 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xkb-switch-1.6.0.tar.gz) = 38703829fdfdcc2e84ce8d516446173266314ee0116a2263b6c9f22b3d07485248951ceabe70964a20b7a21157fd53bb2ab9d5750e995a45d7450e704100d5c3 diff --git a/xkb-switch.manpage.patch b/xkb-switch.manpage.patch new file mode 100644 index 0000000..3880f3e --- /dev/null +++ b/xkb-switch.manpage.patch @@ -0,0 +1,54 @@ +diff --git a/man/xkb-switch.1 b/man/xkb-switch.1 +new file mode 100644 +index 0000000..26b06f4 +--- /dev/null ++++ b/man/xkb-switch.1 +@@ -0,0 +1,48 @@ ++.TH "xkb-switch" "1" "1.3.1" "J. Bromley, S. Mironov, Alexei Rad'kov" "User Commands" ++.SH "xkb-switch" ++.LP ++.B xkb\-switch ++is a C++ program that allows to query and change the XKB layout state. ++.SH "SYNTAX" ++.LP ++xkb\-switch [options] ++.SH "DESCRIPTION" ++.LP ++.B xkb\-switch ++is a C++ program that allows to query and change the XKB layout state. Originally ruby\-based code written by J. Bromley. ++.SH "OPTIONS" ++.LP ++.TP ++\fB\-s\fR ++Set current layout group to . ++.TP ++.BR \-l ", "\-\^\-list ++Display all layout groups. ++.TP ++.BR \-h ", "\-\^\-help ++Display a help message. ++.TP ++.BR \-v ", "\-\^\-version ++Show version number. ++.TP ++.BR \-w " "[\-p] ", "\-\^\-wait " "[\-p] ++Wait for group change and exits. ++If \fB\-p\fR is specified, print the new layout group. ++.TP ++.BR \-W ++Infinitely wait for group change. ++.TP ++.BR \-n ", " \-\^\-next ++Switch to the next layout group. ++.TP ++.BR \-x ++Print X layout string. ++.TP ++.BR \-p ++Display current layout group. ++.TP ++.BR \-\^\-test ++Run some internal tests. ++.SH "AUTHORS" ++.LP ++J. Bromley, S. Mironov, Alexei Rad'kov diff --git a/xkb-switch.spec b/xkb-switch.spec new file mode 100644 index 0000000..abe909b --- /dev/null +++ b/xkb-switch.spec @@ -0,0 +1,92 @@ +Name: xkb-switch +Version: 1.6.0 +Release: 1%{?dist} +Summary: Switch your X keyboard layouts from the command line + +License: GPLv3+ +URL: https://github.com/ierton/xkb-switch +Source0: https://github.com/ierton/xkb-switch/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libX11-devel +BuildRequires: libxkbfile-devel + +%description +xkb-switch is a C++ program that allows to query and change the XKB layout +state. + + +%prep +%setup -q -n %{name}-%{version} + + +%build +%cmake -DBUILD_XKBSWITCH_LIB:BOOL=OFF . +make %{?_smp_mflags} + + +%install +%make_install + +install -p -D -m644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 + + +%files +%license COPYING +%doc README.md +%{_mandir}/man1/%{name}.1.gz +%{_bindir}/xkb-switch + + + +%changelog +* Sat Aug 17 2019 Till Hofmann - 1.6.0-1 +- Update to 1.6.0 + +* Sun Feb 03 2019 Fedora Release Engineering - 1.5.0-6.20160925gitda4ef22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.5.0-5.20160925gitda4ef22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.5.0-4.20160925gitda4ef22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.5.0-3.20160925gitda4ef22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5.0-2.20160925gitda4ef22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 14 2017 Till Hofmann - 1.5.0-1.20160925gitda4ef22 +- Update to 1.5.0 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.4.0-2.20160925gitd7c1856 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Sep 25 2016 Till Hofmann - 1.4.0-1.20160925gitd7c1856 +- Update to commit 1.4.0 (commit d7c1856) +- Remove upstreamed patch + +* Fri Feb 05 2016 Fedora Release Engineering - 1.3.1-2.20150719git532d923 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Aug 01 2015 Till Hofmann - 1.3.1-1.20150719git532d923 +- Add man page +- Change version to the actual upstream version (found with xkb-switch -v) + +* Sun Jul 19 2015 Till Hofmann - 0-0.5.20150719git532d923 +- Add libX11-devel build dependency + +* Sat Jul 18 2015 Till Hofmann - 0-0.4.20150719git532d923 +- Update to commit 532d923 (fixed README permissions) + +* Thu Jul 16 2015 Till Hofmann - 0-0.3.20150715git8ab2a49 +- Fix permissions of README.md + +* Tue Jul 14 2015 Till Hofmann - 0-0.2.20150715git8ab2a49 +- Update to commit 8ab2a49 with fixed license + +* Tue Jul 14 2015 Till Hofmann - 0-0.1.20150714git97bf2c8 +- Initial package