78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package susepaste
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
Name: susepaste
|
|
Version: 0.5
|
|
Release: 1
|
|
License: GPL-3.0
|
|
Url: http://susepaste.org
|
|
Source0: susepaste-script-%{version}.tar.bz2
|
|
Group: Productivity/Other
|
|
Summary: Simple script for using openSUSE paste easily
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: bash
|
|
Requires: curl
|
|
|
|
%description
|
|
Simple script for using openSUSE paste easily.
|
|
You can paste either the file or input from stdin.
|
|
|
|
http://susepaste.org
|
|
|
|
%package screenshot
|
|
Group: Productivity/Other
|
|
Summary: Simple script for pasting screenshots easily
|
|
BuildArch: noarch
|
|
Requires: wmctrl ImageMagick curl
|
|
Recommends: xclip
|
|
|
|
%description screenshot
|
|
Simple script for using openSUSE paste easily.
|
|
You can paste screenshot of the window or whole desktop.
|
|
|
|
http://susepaste.org
|
|
|
|
%prep
|
|
%setup -n susepaste-script-%{version}
|
|
mv gpl-3.0.txt COPYING
|
|
|
|
%build
|
|
|
|
%install
|
|
install -D -m 0755 susepaste %{buildroot}%{_bindir}/susepaste
|
|
install -D -m 0755 susepaste-screenshot %{buildroot}%{_bindir}/susepaste-screenshot
|
|
install -D -m 0644 susepaste.1 %{buildroot}%{_mandir}/man1/susepaste.1
|
|
install -D -m 0644 susepaste-screenshot.1 %{buildroot}%{_mandir}/man1/susepaste-screenshot.1
|
|
install -D -m 0644 lang-mappings.sed %{buildroot}/usr/share/susepaste/lang-mappings.sed
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_bindir}/%{name}
|
|
/usr/share/susepaste/lang-mappings.sed
|
|
%dir /usr/share/susepaste
|
|
%doc %{_mandir}/man1/%{name}.*
|
|
|
|
%files screenshot
|
|
%defattr(-,root,root)
|
|
%doc COPYING
|
|
%{_bindir}/%{name}-screenshot
|
|
%doc %{_mandir}/man1/%{name}-screenshot.*
|
|
|
|
%changelog
|