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