]> git.pld-linux.org Git - SPECS.git/blob - xorg-lib-xtrans.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / xorg-lib-xtrans.spec
1 Summary:        xtrans library - network API translation layer
2 Summary(pl.UTF-8):      Biblioteka xtrans - warstwa tłumaczenia sieciowego API
3 Name:           xorg-lib-xtrans
4 Version:        1.4.0
5 Release:        1
6 License:        MIT
7 Group:          X11/Development/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/xtrans-%{version}.tar.bz2
9 # Source0-md5:  ce2fb8100c6647ee81451ebe388b17ad
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  docbook-dtd43-xml
14 BuildRequires:  libxslt-progs
15 BuildRequires:  pkgconfig >= 1:0.19
16 BuildRequires:  rpmbuild(macros) >= 1.446
17 BuildRequires:  xmlto >= 0.0.22
18 BuildRequires:  xorg-sgml-doctools >= 1.8
19 BuildRequires:  xorg-util-util-macros >= 1.12
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 xtrans library provides network API translation layer to insulate X
24 applications and libraries from OS network vagaries.
25
26 %description -l pl.UTF-8
27 Biblioteka xtrans dostarcza warstwę tłumaczenia sieciowego API służącą
28 do oddzielenia aplikacji i bibliotek X od kaprysów sieciowych systemu
29 operacyjnego.
30
31 %package devel
32 Summary:        xtrans library - network API translation layer
33 Summary(pl.UTF-8):      Biblioteka xtrans - warstwa tłumaczenia sieciowego API
34 Group:          X11/Development/Libraries
35 Requires:       xorg-proto-xproto-devel
36 Obsoletes:      libXtrans-devel
37
38 %description devel
39 xtrans library provides network API translation layer to insulate X
40 applications and libraries from OS network vagaries.
41
42 %description devel -l pl.UTF-8
43 Biblioteka xtrans dostarcza warstwę tłumaczenia sieciowego API służącą
44 do oddzielenia aplikacji i bibliotek X od kaprysów sieciowych systemu
45 operacyjnego.
46
47 %prep
48 %setup -q -n xtrans-%{version}
49
50 %build
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --enable-docs \
56         --without-fop
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 # (.html version) packaged as %doc
67 %{__rm} $RPM_BUILD_ROOT%{_docdir}/xtrans/xtrans.*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files devel
73 %defattr(644,root,root,755)
74 %doc AUTHORS COPYING ChangeLog README.md doc/xtrans.html
75 %{_includedir}/X11/Xtrans
76 %{_npkgconfigdir}/xtrans.pc
77 %{_aclocaldir}/xtrans.m4
This page took 0.094536 seconds and 3 git commands to generate.