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