]> git.pld-linux.org Git - packages/xorg-lib-libxcvt.git/blob - xorg-lib-libxcvt.spec
- ugh, really separated -tools; release 2
[packages/xorg-lib-libxcvt.git] / xorg-lib-libxcvt.spec
1 Summary:        Library to generate VESA CVT standard timing modelines
2 Summary(pl.UTF-8):      Biblioteka do generowania linii trybów graficznych z czasami zgodnymi z VESA CVT
3 Name:           xorg-lib-libxcvt
4 Version:        0.1.0
5 Release:        2
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libxcvt-%{version}.tar.xz
9 # Source0-md5:  decb371ebd538956441d12f9ef522583
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  meson >= 0.40.0
12 BuildRequires:  ninja >= 1.5
13 BuildRequires:  pkgconfig >= 1:0.19
14 BuildRequires:  rpmbuild(macros) >= 1.736
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 libxcvt is a library providing a standalone version of the X server
21 implementation of the VESA CVT standard timing modelines generator.
22
23 libxcvt also provides a standalone version of the command line tool
24 cvt copied from the Xorg implementation and is meant to be a direct
25 replacement to the version provided by the Xorg server.
26
27 %description -l pl.UTF-8
28 libxcvt to biblioteka udostępniająca samodzielną wersję generatora
29 linii trybów graficznych z czasami zgodnymi ze standardem VESA CVT,
30 zaimplementowanego w serwerze X.
31
32 libxcvt dostarcza także samodzielną wersję narzędzia linii poleceń
33 cvt, skopiowaną z implementacji Xorg, mającą być bezpośrednim
34 zamiennikiem polecenia udostępnianego przez serwer Xorg.
35
36 %package devel
37 Summary:        Header files for libxcvt library
38 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libxcvt
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41
42 %description devel
43 Header files for libxcvt library.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki libxcvt.
47
48 %package tools
49 Summary:        Tool to generate VESA CTV modelines for X.org server
50 Summary(pl.UTF-8):      Narzędzie do generowania opisów trybów graficznych (modeline) zgodnych z VESA CVT
51 Group:          X11/Applications
52 Requires:       %{name} = %{version}-%{release}
53 # cvt tool
54 Conflicts:      xorg-xserver-server < 1.20.11-4
55 Conflicts:      xorg-xserver-server-tools < 1.20.12-2
56
57 %description tools
58 Tool to generate modelines for X.org server using VESA Coordinated
59 Video Timing.
60
61 %description tools
62 Narzędzie do generowania opisów trybów graficznych (modeline) przy
63 użyciu standardu VESA Coordinated Video Timing.
64
65 %prep
66 %setup -q -n libxcvt-%{version}
67
68 %build
69 %meson build
70
71 %ninja_build -C build
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %ninja_install -C build
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc COPYING README.md
87 %attr(755,root,root) %{_libdir}/libxcvt.so
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_includedir}/libxcvt
92 %{_pkgconfigdir}/libxcvt.pc
93
94 %files tools
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/cvt
97 %{_mandir}/man1/cvt.1*
This page took 0.072687 seconds and 3 git commands to generate.