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