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