]> git.pld-linux.org Git - packages/xorg-lib-libdmx.git/blob - xorg-lib-libdmx.spec
- updated to 1.1.5
[packages/xorg-lib-libdmx.git] / xorg-lib-libdmx.spec
1 Summary:        DMX extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzenia DMX
3 Name:           xorg-lib-libdmx
4 Version:        1.1.5
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libdmx-%{version}.tar.xz
9 # Source0-md5:  ca5b5017987d2eee289485b54506ff5c
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xorg-lib-libX11-devel >= 1.6
17 BuildRequires:  xorg-lib-libXext-devel
18 BuildRequires:  xorg-proto-dmxproto-devel >= 2.2.99.1
19 BuildRequires:  xorg-proto-xextproto-devel
20 BuildRequires:  xorg-util-util-macros >= 1.8
21 BuildRequires:  xz
22 Requires:       xorg-lib-libX11 >= 1.6
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 DMX (Distributed Multihead X) extension library.
27
28 %description -l pl.UTF-8
29 Biblioteka rozszerzenia DMX (Distributed Multihead X).
30
31 %package devel
32 Summary:        Header files for libdmx library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libdmx
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       xorg-lib-libX11-devel >= 1.6
37 Requires:       xorg-lib-libXext-devel
38 Requires:       xorg-proto-dmxproto-devel >= 2.2.99.1
39
40 %description devel
41 DMX (Distributed Multihead X) extension library.
42
43 This package contains the header files needed to develop programs that
44 use libdmx.
45
46 %description devel -l pl.UTF-8
47 Biblioteka rozszerzenia DMX (Distributed Multihead X).
48
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libdmx.
51
52 %package static
53 Summary:        Static libdmx library
54 Summary(pl.UTF-8):      Biblioteka statyczna libdmx
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 DMX (Distributed Multihead X) extension library.
60
61 This package contains the static libdmx library.
62
63 %description static -l pl.UTF-8
64 Biblioteka rozszerzenia DMX (Distributed Multihead X).
65
66 Pakiet zawiera statyczną bibliotekę libdmx.
67
68 %prep
69 %setup -q -n libdmx-%{version}
70
71 %build
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdmx.la
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc COPYING ChangeLog README.md
98 %attr(755,root,root) %{_libdir}/libdmx.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libdmx.so.1
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libdmx.so
104 %{_includedir}/X11/extensions/dmxext.h
105 %{_pkgconfigdir}/dmx.pc
106 %{_mandir}/man3/DMX*.3*
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/libdmx.a
This page took 0.213011 seconds and 3 git commands to generate.