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