commit a7fb4f3851f71c9a47a849c18ad39042ad8962fc2696e380f6b3b1ba18a70bdc Author: Johannes Meixner Date: Thu Oct 15 07:17:20 2020 +0000 Accepting request 841798 from home:jengelh:dev the new cupsy library OBS-URL: https://build.opensuse.org/request/show/841798 OBS-URL: https://build.opensuse.org/package/show/Printing/pappl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..402ada7 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/michaelrsweet/pappl + 2c2b86eb9e9f76c6fbe48a8d8fe0ebf0fb60e7d2 + 181c10f24eda96ba00cce4e465720d193ef9a611 + 0~git@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/pappl-0~git378.tar.xz b/pappl-0~git378.tar.xz new file mode 100644 index 0000000..21aae49 --- /dev/null +++ b/pappl-0~git378.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f32d8e219620481b39c54151717eefc1c88ce3ca790937f10819af5a0dfb6d3 +size 1833788 diff --git a/pappl.changes b/pappl.changes new file mode 100644 index 0000000..e14b4c3 --- /dev/null +++ b/pappl.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Oct 13 21:40:10 UTC 2020 - Jan Engelhardt + +- Initial package (version 0~git378 / 2c2b86eb9e9) + for build.opensuse.org. diff --git a/pappl.spec b/pappl.spec new file mode 100644 index 0000000..48c9b3d --- /dev/null +++ b/pappl.spec @@ -0,0 +1,107 @@ +# +# spec file for package pappl +# +# 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/ +# + + +Name: pappl +%define lname libpappl1 +Version: 0~git378 +Release: 0 +Summary: A Printer application framework +License: Apache-2.0 +Group: Hardware/Printing +URL: https://www.msweet.org/pappl/ +Source: %name-%version.tar.xz +BuildRequires: cups-devel +BuildRequires: pam-devel +BuildRequires: pkgconfig(avahi-client) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libpng16) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(zlib) + +%description +PAPPL is a C-based framework/library for developing CUPS Printer +Applications, which are the recommended replacement for printer +drivers. PAPPL supports LPrint and a Gutenprint Printer Application, +but it is sufficiently general purpose to support any kind of printer +or driver that can be used on desktops, servers and in embedded +environments. + +PAPPL supports JPEG, PNG, PWG Raster, Apple Raster, and "raw" +printing to printers connected via USB and network +(AppSocket/JetDirect) connections. PAPPL provides access to the +printer via its embedded IPP Everywhere service, either local to the +computer or on your whole network, which can then be discovered and +used by any application. + +%package -n %lname +Summary: A Printer application framework +Group: System/Libraries + +%description -n %lname +PAPPL is a framework/library for developing CUPS Printer +Applications, which are the recommended replacement for printer +drivers. + +PAPPL supports JPEG, PNG, PWG Raster, Apple Raster, and "raw" +printing to printers connected via USB and network +(AppSocket/JetDirect) connections. + +%package devel +Summary: Development files for PAPPL +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +PAPPL is a C-based framework/library for developing CUPS Printer +Applications, which are the recommended replacement for printer +drivers. + +This subpackage contains the headers for the library. + +%prep +%autosetup -p1 + +%build +# includedir intentional, cf. bugzilla.opensuse.org/795968 +%configure --disable-static --includedir="%_includedir/%name" +%make_build + +%install +# quite dumb to concatenate RPM_BUILD_ROOT and DESTDIR +%make_install RPM_BUILD_ROOT="" +rm -f "%buildroot/%_libdir"/*.a + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files +%_bindir/pappl-* +%_mandir/man1/*.1* +%_datadir/%name/ +%license LICENSE + +%files -n %lname +%_libdir/libpappl.so.1* + +%files devel +%_includedir/%name/ +%_libdir/libpappl.so +%_libdir/pkgconfig/*.pc + +%changelog