Accepting request 986567 from home:polslinux:branches:Publishing

This package supersedes https://build.opensuse.org/package/show/Publishing/paper , which is now completely gone also from upstream (https://github.com/rrthomas/paper).

OBS-URL: https://build.opensuse.org/request/show/986567
OBS-URL: https://build.opensuse.org/package/show/Publishing/libpaper?expand=0&rev=1
This commit is contained in:
Martin Pluskal
2022-07-12 16:13:08 +00:00
committed by Git OBS Bridge
commit 0f8d78ddfd
5 changed files with 126 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
libpaper-1.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:999a601f42f295067d779ad4cc93203127bc8af1ef6e90bbf214467ab4f2a1a2
size 1227345

4
libpaper.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Jul 4 07:59:41 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Initial OBS release. This package provides and obsoletes paper.

95
libpaper.spec Normal file
View File

@@ -0,0 +1,95 @@
#
# spec file for package libpaper
#
# Copyright (c) 2020 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/
#
%define sover 1
Name: libpaper
Version: 1.2.1
Release: 0
Summary: Enables users to indicate their preferred paper size
License: GPL-3.0-or-later
URL: https://github.com/rrthomas/libpaper
Source: %{url}/releases/download/v%{version}/libpaper-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: help2man
BuildRequires: perl
%description
This package enables users to indicate their preferred paper
size, provides the libpaper(1) utility to find the user's preferred
default libpaper size and give information about known sizes, and
specifies system-wide and per-user libpaper size catalogues, which can be
can also be used directly (see libpaperspecs(5)).
%package -n %{name}%{sover}
Summary: This package contains the paper library
%description -n %{name}%{sover}
asdad sadj aj diasj ajiodjioa iojdioajdsioa jajioiojblabla
%package -n %{name}-tools
Summary: Tools that make use of libpaper
%description -n %{name}-tools
blabla adaio jioj iodaios aj joaj ojao oisjio
%package devel
Summary: This package contains the development files needed by libpaper
Requires: %{name}%{sover} = %{version}
%description devel
blabla
%prep
%autosetup -p1
%build
%configure \
--disable-static
%make_build
%install
%make_install
rm -vRf %{buildroot}%{_datadir}/doc/libpaper/README
find %{buildroot}%{_libdir} -name *libpaper.la -delete
%post -n %{name}%{sover} -p /sbin/ldconfig
%postun -n %{name}%{sover} -p /sbin/ldconfig
%files
%license COPYING
%doc ChangeLog README
%{_sysconfdir}/paperspecs
%{_mandir}/man5/paperspecs.5.gz
%files -n %{name}-tools
%{_bindir}/paper
%{_sbindir}/paperconfig
%{_mandir}/man1/paper.1.gz
%{_mandir}/man8/paperconfig.8.gz
%files -n %{name}%{sover}
%{_libdir}/libpaper.so.1
%{_libdir}/libpaper.so.1.2.1
%files devel
%{_includedir}/paper.h
%{_libdir}/libpaper.so
%changelog