- created package

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcvt?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2021-10-27 15:00:30 +00:00 committed by Git OBS Bridge
commit bd228b3bd2
5 changed files with 122 additions and 0 deletions

25
.gitattributes vendored Normal file
View File

@ -0,0 +1,25 @@
## 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
## Specific LFS patterns
libxcvt-0.1.1.tar.bz filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libxcvt-0.1.1.tar.bz Normal file
View File

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

4
libxcvt.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Oct 27 14:39:18 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- created package

89
libxcvt.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package libxcvt
#
# Copyright (c) 2021 SUSE LINUX 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 https://bugs.opensuse.org/
#
Name: libxcvt
%define lname libxcvt0
Version: 0.1.1
Release: 0
Summary: CVT library
License: MIT
Group: Development/Libraries/C and C++
Url: https://gitlab.freedesktop.org/xorg/lib/libxcvt
Source: %{name}-%{version}.tar.bz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: meson
%description
libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.
libxcvt also provides a standalone version of the command line tool
cvt copied from the Xorg implementation and is meant to be a direct
replacement to the version provided by the Xorg server.
%package -n %lname
Summary: CVT library
Group: System/Libraries
%description -n %lname
libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.
libxcvt also provides a standalone version of the command line tool
cvt copied from the Xorg implementation and is meant to be a direct
replacement to the version provided by the Xorg server.
%package devel
Summary: Development files for the CVT library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.
libxcvt also provides a standalone version of the command line tool
cvt copied from the Xorg implementation and is meant to be a direct
replacement to the version provided by the Xorg server.
This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%build
%{meson}
%{meson_build}
%install
%{meson_install}
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libxcvt.so.0*
/usr/bin/cvt
%{_mandir}/man1/cvt.1.gz
%files devel
%defattr(-,root,root)
%_includedir/libxcvt/
%_libdir/libxcvt.so
%_libdir/pkgconfig/libxcvt.pc
%changelog