From 06fe144330f21740294d135040d36718a1bd38f9fd78772fed4ec61ec2bb5b11 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 8 Nov 2022 10:30:48 +0000 Subject: [PATCH] Accepting request 1034445 from home:jubalh OBS-URL: https://build.opensuse.org/request/show/1034445 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/vformat?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + libvformat-1.13-a6r3.tar.gz | 3 ++ libvformat.changes | 9 +++++ vformat-nodoc.patch | 32 +++++++++++++++ vformat.spec | 78 +++++++++++++++++++++++++++++++++++++ 6 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libvformat-1.13-a6r3.tar.gz create mode 100644 libvformat.changes create mode 100644 vformat-nodoc.patch create mode 100644 vformat.spec 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/libvformat-1.13-a6r3.tar.gz b/libvformat-1.13-a6r3.tar.gz new file mode 100644 index 0000000..4ef86af --- /dev/null +++ b/libvformat-1.13-a6r3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad50ea326daeaccac59716208f6eac23691d3e4af906a8915f62078c49fcad74 +size 254315 diff --git a/libvformat.changes b/libvformat.changes new file mode 100644 index 0000000..dba56db --- /dev/null +++ b/libvformat.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 8 08:32:52 UTC 2022 - Michael Vetter + +- Run spec cleaner + +------------------------------------------------------------------- +Fri Jun 12 19:34:50 UTC 2020 - Michael Vetter + +- Initial package in version 1.13 for openSUSE diff --git a/vformat-nodoc.patch b/vformat-nodoc.patch new file mode 100644 index 0000000..b732c88 --- /dev/null +++ b/vformat-nodoc.patch @@ -0,0 +1,32 @@ +diff -urEbw libvformat-1.13/configure.ac libvformat-1.13.new/configure.ac +--- libvformat-1.13/configure.ac 2002-12-07 17:42:38.000000000 +0100 ++++ libvformat-1.13.new/configure.ac 2020-06-12 22:13:36.916481712 +0200 +@@ -26,6 +26,6 @@ + AC_FUNC_STAT + AC_CHECK_FUNCS([atexit memset strstr]) + +-AC_OUTPUT([Makefile src/Makefile vformat/Makefile test/Makefile doc/Makefile]) ++AC_OUTPUT([Makefile src/Makefile vformat/Makefile test/Makefile]) + AC_CONFIG_FILES([]) + +diff -urEbw libvformat-1.13/Makefile.am libvformat-1.13.new/Makefile.am +--- libvformat-1.13/Makefile.am 2002-12-07 17:42:38.000000000 +0100 ++++ libvformat-1.13.new/Makefile.am 2020-06-12 22:16:21.289604969 +0200 +@@ -1,4 +1,4 @@ +-SUBDIRS = src vformat test doc ++SUBDIRS = src vformat test + + EXTRA_DIST = common/types.h vf_iface.h + +diff -urEbw libvformat-1.13/Makefile.in libvformat-1.13.new/Makefile.in +--- libvformat-1.13/Makefile.in 2002-12-07 18:31:37.000000000 +0100 ++++ libvformat-1.13.new/Makefile.in 2020-06-12 22:18:44.606585319 +0200 +@@ -74,7 +74,7 @@ + STRIP = @STRIP@ + VERSION = @VERSION@ + +-SUBDIRS = src vformat test doc ++SUBDIRS = src vformat test + + EXTRA_DIST = common/types.h vf_iface.h + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/vformat.spec b/vformat.spec new file mode 100644 index 0000000..888587b --- /dev/null +++ b/vformat.spec @@ -0,0 +1,78 @@ +# +# spec file for package vformat +# +# Copyright (c) 2022 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: vformat +Version: 1.13 +Release: 0 +Summary: Library to read and write vcard files +License: Apache-2.0 +Group: Development/Libraries/C and C++ +URL: https://sourceforge.net/projects/vformat/ +Source0: http://downloads.sourceforge.net/vformat/libvformat-%{version}-a6r3.tar.gz +Patch0: vformat-nodoc.patch +BuildRequires: autoconf +BuildRequires: gcc +BuildRequires: txt2man + +%description +Library and tool to read and write vcard files. + +%package -n libvformat0 +Summary: Library to read and write vcard files +Group: System/Libraries + +%description -n libvformat0 +Library to read and write vcard files. + +%package devel +Summary: Development files for libvformat +Group: Development/Libraries/C and C++ +Requires: libvformat0 = %{version} +Provides: libvformat-devel = %{version} + +%description devel +Development files for libvformat. + +%prep +%setup -q -n libvformat-%{version} +%patch0 -p1 + +%build +%configure +%make_build + +%install +%make_install + +find %{buildroot} -type f -name "*.a" -delete -print +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libvformat0 -p /sbin/ldconfig +%postun -n libvformat0 -p /sbin/ldconfig + +%files +%{_bindir}/vformat + +%files -n libvformat0 +%{_libdir}/libvformat.so.* + +%files devel +%{_libdir}/libvformat.so +%{_includedir}/vf_iface.h + +%changelog