]>
Commit | Line | Data |
---|---|---|
c7f7dc83 CM |
1 | # TODO: |
2 | # * Fix depracated schema paths, throws warnings on RPM install | |
3 | # | |
fe59f0c2 | 4 | Summary: Mouse accessibility enhancements for GNOME |
269c8aa4 | 5 | Summary(pl.UTF-8): Rozszerzenia dostępności myszy dla GNOME |
fe59f0c2 | 6 | Name: mousetweaks |
aa137593 | 7 | Version: 3.12.0 |
94e09b20 | 8 | Release: 2 |
fe59f0c2 | 9 | License: GPL v3 |
ed23ef14 | 10 | Group: X11/Applications/Accessibility |
aa137593 MB |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mousetweaks/3.12/%{name}-%{version}.tar.xz |
12 | # Source0-md5: 08799c2059b40bf3275e7f69a62eb144 | |
fe59f0c2 | 13 | URL: http://live.gnome.org/Mousetweaks/Home |
4789d9ec | 14 | BuildRequires: autoconf >= 2.64 |
9c4b7e66 | 15 | BuildRequires: automake >= 1:1.11 |
415752e0 | 16 | BuildRequires: docbook-dtd412-xml |
d0216b83 | 17 | BuildRequires: gettext-tools |
9c4b7e66 | 18 | BuildRequires: glib2-devel >= 1:2.26.0 |
1bd9ebcd MB |
19 | BuildRequires: gnome-common >= 2.24.0 |
20 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
dd00a6ef | 21 | BuildRequires: gsettings-desktop-schemas-devel >= 3.2.0 |
9c4b7e66 | 22 | BuildRequires: gtk+3-devel >= 3.0.0 |
1bd9ebcd | 23 | BuildRequires: intltool >= 0.40.0 |
fe59f0c2 | 24 | BuildRequires: pkgconfig |
1bd9ebcd | 25 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
9c4b7e66 | 26 | BuildRequires: rpmbuild(macros) >= 1.592 |
c7f7dc83 | 27 | BuildRequires: tar >= 1:1.22 |
468f1ca7 | 28 | BuildRequires: xorg-lib-libX11-devel |
f1a03c0d AF |
29 | BuildRequires: xorg-lib-libXcursor-devel |
30 | BuildRequires: xorg-lib-libXfixes-devel | |
c7f7dc83 | 31 | BuildRequires: xorg-lib-libXtst-devel |
468f1ca7 | 32 | BuildRequires: xz |
9c4b7e66 | 33 | Requires(post,preun): glib2 >= 1:2.26.0 |
dd00a6ef | 34 | Requires: gsettings-desktop-schemas >= 3.2.0 |
fe59f0c2 MB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | The mousetweaks package provides the functions offered by the | |
39 | Accessibility tab of the Mouse control panel of the GNOME Control | |
40 | Center. It also contains two panel applets related to the mouse | |
41 | accessibility. | |
42 | ||
269c8aa4 JB |
43 | %description -l pl.UTF-8 |
44 | Pakiet mousetweaks udostępnia funkcje oferowane przez zakładkę | |
45 | Dostępność w panelu sterowania myszy w Centrum Sterowania GNOME. | |
46 | Zawiera także dwa aplety panelu związane z dostępnością myszy. | |
47 | ||
fe59f0c2 MB |
48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %{__intltoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
8932a0e4 | 57 | %configure \ |
9c4b7e66 | 58 | --disable-schemas-compile \ |
bb042b57 | 59 | --disable-silent-rules |
fe59f0c2 MB |
60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
1bd9ebcd | 68 | %find_lang %{name} --with-gnome --with-omf |
fe59f0c2 MB |
69 | |
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
9c4b7e66 | 74 | %glib_compile_schemas |
fe59f0c2 | 75 | |
9c4b7e66 MB |
76 | %postun |
77 | %glib_compile_schemas | |
fe59f0c2 MB |
78 | |
79 | %files -f %{name}.lang | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS ChangeLog NEWS README TODO | |
fe59f0c2 | 82 | %attr(755,root,root) %{_bindir}/mousetweaks |
9c4b7e66 MB |
83 | %{_datadir}/GConf/gsettings/mousetweaks.convert |
84 | %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.enums.xml | |
85 | %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.gschema.xml | |
fe59f0c2 | 86 | %{_datadir}/mousetweaks |
fe59f0c2 | 87 | %{_mandir}/man1/mousetweaks.1* |