]> git.pld-linux.org Git - SPECS.git/blob - xorg-app-xmag.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / xorg-app-xmag.spec
1 Summary:        xmag application to magnify parts of the screem
2 Summary(pl.UTF-8):      Aplikacja xmag powiększająca kawałki ekranu
3 Name:           xorg-app-xmag
4 Version:        1.0.7
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/app/xmag-%{version}.tar.xz
9 # Source0-md5:  c73f20334a36879868b4f6ced17b1ead
10 Source1:        xmag.desktop
11 Source2:        xmag.png
12 URL:            https://xorg.freedesktop.org/
13 BuildRequires:  autoconf >= 2.60
14 BuildRequires:  automake
15 BuildRequires:  pkgconfig >= 1:0.19
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xorg-lib-libX11-devel
18 BuildRequires:  xorg-lib-libXaw-devel
19 BuildRequires:  xorg-lib-libXmu-devel
20 BuildRequires:  xorg-lib-libXt-devel >= 1.0.0
21 BuildRequires:  xorg-util-util-macros >= 1.8
22 BuildRequires:  xz
23 Requires:       xorg-lib-libXt >= 1.0.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The xmag program allows you to magnify portions of an X screen.
28
29 %description -l pl.UTF-8
30 Aplikacja xmag pozwala powiększać części ekranu X.
31
32 %prep
33 %setup -q -n xmag-%{version}
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/xmag.desktop
51 install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/xmag.png
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc COPYING ChangeLog README.md
59 %attr(755,root,root) %{_bindir}/xmag
60 %{_datadir}/X11/app-defaults/Xmag
61 %{_desktopdir}/xmag.desktop
62 %{_pixmapsdir}/xmag.png
63 %{_mandir}/man1/xmag.1*
This page took 0.425495 seconds and 3 git commands to generate.