2022-11-08 10:30:48 +00:00
committed by Git OBS Bridge
commit 06fe144330
6 changed files with 146 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

View File

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

9
libvformat.changes Normal file
View File

@@ -0,0 +1,9 @@
-------------------------------------------------------------------
Tue Nov 8 08:32:52 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Run spec cleaner
-------------------------------------------------------------------
Fri Jun 12 19:34:50 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Initial package in version 1.13 for openSUSE

32
vformat-nodoc.patch Normal file
View File

@@ -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

78
vformat.spec Normal file
View File

@@ -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