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