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