]>
Commit | Line | Data |
---|---|---|
f1379a77 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without mcpp # gcc's cpp instead of mcpp | |
4 | # | |
379887e4 | 5 | Summary: xrdb application - X server resource database utility |
bbd6baf1 | 6 | Summary(pl.UTF-8): Aplikacja xrdb - narzędzie do bazy danych zasobów serwera X |
d00e8a07 | 7 | Name: xorg-app-xrdb |
54b471f5 | 8 | Version: 1.2.2 |
0e4d31ec | 9 | Release: 1 |
d00e8a07 AM |
10 | License: MIT |
11 | Group: X11/Applications | |
54b471f5 JB |
12 | Source0: https://xorg.freedesktop.org/releases/individual/app/xrdb-%{version}.tar.xz |
13 | # Source0-md5: c8629d5a0bc878d10ac49e1b290bf453 | |
0e4d31ec | 14 | URL: https://xorg.freedesktop.org/ |
4aa8ccdd | 15 | BuildRequires: pkgconfig >= 1:0.19 |
54b471f5 | 16 | BuildRequires: tar >= 1:1.22 |
c0842cfa | 17 | BuildRequires: xorg-lib-libX11-devel |
a21edff8 | 18 | # just xmuu |
d00e8a07 | 19 | BuildRequires: xorg-lib-libXmu-devel |
0e4d31ec | 20 | BuildRequires: xorg-proto-xproto-devel >= 7.0.25 |
d46d85c8 | 21 | BuildRequires: xorg-util-util-macros >= 1.8 |
54b471f5 | 22 | BuildRequires: xz |
f1379a77 | 23 | %if %{with mcpp} |
a849e582 | 24 | Requires: mcpp |
f1379a77 JB |
25 | %else |
26 | Requires: cpp | |
27 | %endif | |
b4bac407 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d00e8a07 AM |
29 | |
30 | %description | |
379887e4 JB |
31 | xrdb is used to get or set the contents of the RESOURCE_MANAGER |
32 | property on the root window of screen 0, or the SCREEN_RESOURCES | |
33 | property on the root window of any or all screens, or everything | |
34 | combined. You would normally run this program from your X startup | |
35 | file. | |
d00e8a07 | 36 | |
79978333 JR |
37 | %description -l pl.UTF-8 |
38 | xrdb służy do odczytu lub ustawiania zawartości właściwości | |
39 | RESOURCE_MANAGER głównego okna ekranu 0 lub właściwości | |
40 | SCREEN_RESOURCES głównego okna dowolnego z ekranów, lub wszystkiego | |
41 | razem. Zwykle używa się tego programu z poziomu skryptu startowego X. | |
d00e8a07 | 42 | |
d00e8a07 AM |
43 | %prep |
44 | %setup -q -n xrdb-%{version} | |
45 | ||
d00e8a07 | 46 | %build |
338f039c | 47 | %configure \ |
0e4d31ec JB |
48 | --with-cpp=/usr/bin/%{?with_mcpp:m}cpp \ |
49 | --disable-silent-rules | |
d00e8a07 AM |
50 | |
51 | %{__make} | |
52 | ||
d00e8a07 AM |
53 | %install |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
a21edff8 | 57 | DESTDIR=$RPM_BUILD_ROOT |
d00e8a07 | 58 | |
d00e8a07 AM |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
d00e8a07 AM |
62 | %files |
63 | %defattr(644,root,root,755) | |
11b92d1f | 64 | %doc AUTHORS COPYING ChangeLog README.md |
7dd3e6f2 | 65 | %attr(755,root,root) %{_bindir}/xrdb |
a849e582 | 66 | %{_mandir}/man1/xrdb.1* |