OK, I will accept, but it needs a couple of fixes: 1. you should add cmake VERBOSE=1, so the post build checks work and I doubt %optflags is enabled either. Also, do you want to maintain this package, if so send SR to maintain it. Thanks. OBS-URL: https://build.opensuse.org/request/show/67191 OBS-URL: https://build.opensuse.org/package/show/utilities/tscreen?expand=0&rev=1
71 lines
2.1 KiB
RPMSpec
71 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: tscreen
|
|
Version: 0.5.0
|
|
Release: 0
|
|
License: GPL v3
|
|
Summary: Another terminal multiplexer
|
|
Url: http://code.google.com/p/tscreen/
|
|
Group: System/Console
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: cmake make ncurses-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This is a fork of tscreen from http://www.steve.org.uk/Software/tscreen/, which is a fork of GNU Screen. GNU Screen is the well-known terminal multiplexer.
|
|
|
|
New features:
|
|
|
|
- All the cool enhancements from Steve Kemp's tscreen fork, such as vertical split
|
|
- CMake build system
|
|
- Removed braille support (maybe not a feature for some, but less is more!)
|
|
- Up-to-date documentation
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} ..
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
install -m 755 -D build/src/tscreen %{buildroot}%{_bindir}/tscreen
|
|
install -m 644 -D build/doc/tscreen.1 %{buildroot}%{_mandir}/man1/tscreen.1
|
|
install -m 644 -D build/doc/tscreen.info %{buildroot}%{_infodir}/tscreen.info
|
|
|
|
%clean
|
|
|
|
%post
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%postun
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc %{_mandir}/man1/tscreen.1.gz
|
|
%doc %{_infodir}/tscreen.info.gz
|
|
%{_bindir}/tscreen
|
|
%changelog
|