commit ec6f643bc946031c6725372f1a3cf5be67172eeec33caff2159c76b0170a155e Author: Stefan Dirsch Date: Sat Apr 14 09:35:15 2012 +0000 Accepting request 113524 from home:vuntz:branches:X11:XOrg Split xmag out of xorg-x11; no change to the content OBS-URL: https://build.opensuse.org/request/show/113524 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xmag?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/xmag-1.0.4.tar.bz2 b/xmag-1.0.4.tar.bz2 new file mode 100644 index 0000000..0335cfb --- /dev/null +++ b/xmag-1.0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6eb02bafb5a5b1d8a92c716d37dd7698a72523cadd8ab0869f0a7eb11b4189a6 +size 125290 diff --git a/xmag.changes b/xmag.changes new file mode 100644 index 0000000..272261a --- /dev/null +++ b/xmag.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org + +- Split xmag from xorg-x11. Initial version: 1.0.4. + diff --git a/xmag.desktop b/xmag.desktop new file mode 100644 index 0000000..80af14d --- /dev/null +++ b/xmag.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=xmag +Type=Application +Name=X Magnifier +GenericName=Desktop Magnifier +Icon=xmag +X-KDE-StartupNotify=false diff --git a/xmag.png b/xmag.png new file mode 100644 index 0000000..4476f86 --- /dev/null +++ b/xmag.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e00d92de9aab0c43fe66d35def3455fa921957cc2cda7b67371d181c3c4d1c8a +size 1964 diff --git a/xmag.spec b/xmag.spec new file mode 100644 index 0000000..66dfe48 --- /dev/null +++ b/xmag.spec @@ -0,0 +1,64 @@ +# +# spec file for package xmag +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: xmag +Version: 1.0.4 +Release: 0 +License: MIT +Summary: Screen magnifier +Url: http://xorg.freedesktop.org/ +Group: System/X11/Utilities +Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +Source1: xmag.desktop +Source2: xmag.png +BuildRequires: pkg-config +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xmu) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xt) +# This was part of the xorg-x11 package up to version 7.6 +Conflicts: xorg-x11 <= 7.6 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +xmag displays a magnified snapshot of a portion of an X11 screen. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +%suse_update_desktop_file -i -u xmag Utility Accessibility DesktopUtility +install -m0644 -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/xmag.png + +%files +%defattr(-,root,root) +%doc ChangeLog COPYING README +%{_bindir}/xmag +%{_datadir}/applications/xmag.desktop +%{_datadir}/pixmaps/xmag.png +%dir %{_datadir}/X11/app-defaults +%{_datadir}/X11/app-defaults/Xmag +%{_mandir}/man1/xmag.1%{?ext_man} + +%changelog