]>
Commit | Line | Data |
---|---|---|
c04b1e35 | 1 | Summary: Generic slider plugin for the Xfce4 Panel |
a704a12a | 2 | Summary(pl.UTF-8): Wtyczka suwaka gólnego przeznaczenia dla panelu Xfce4 |
c04b1e35 KM |
3 | Name: xfce4-generic-slider |
4 | Version: 1.0.0 | |
a704a12a | 5 | Release: 3 |
c04b1e35 KM |
6 | License: GPL v3 |
7 | Group: X11/Applications | |
8 | Source0: https://archive.xfce.org/src/panel-plugins/xfce4-generic-slider/1.0/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 4a599079f49bdf462049e38bcc802e55 | |
10 | URL: https://goodies.xfce.org/projects/panel-plugins/xfce4-generic-slider | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: gettext-tools | |
14 | BuildRequires: glib2-devel >= 1:2.50.0 | |
15 | BuildRequires: gtk+3-devel >= 3.22.0 | |
16 | BuildRequires: libtool | |
17 | BuildRequires: libxfce4ui-devel >= 4.14.0 | |
18 | BuildRequires: perl-XML-Parser | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: xfce4-dev-tools >= 4.14.0 | |
21 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Xfce4-generic-slider is a tool to help Xfce users deal with a variable | |
26 | which they wish to both GET and SET. The getting side is similar to | |
27 | what xfce4-genmon-plugin does except the command's numerical output is | |
28 | represented visually in a slider. Dragging the slider is then used to | |
29 | set the value through calls to a second command. | |
30 | ||
31 | %description -l pl.UTF-8 | |
e81e4be1 | 32 | Xfce4-generic-slider to narzędzie pomagające użytkownikom Xfce radzić |
a704a12a KM |
33 | sobie ze zmienną, którą chcą zarówno pobrać (GET), jak i ustawić |
34 | (SET). Pobieranie jest podobne do tego, co robi xfce4-genmon-plugin, z | |
35 | wyjątkiem tego, że numeryczne wyjście polecenia jest reprezentowane | |
36 | wizualnie na suwaku. Przeciąganie suwaka jest następnie używane do | |
37 | ustawiania wartości poprzez wywołania drugiego polecenia. | |
c04b1e35 KM |
38 | |
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %configure \ | |
44 | --disable-static | |
45 | ||
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
55 | ||
56 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie | |
57 | ||
58 | %find_lang %{name} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files -f %{name}.lang | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS NEWS README.md | |
66 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libgeneric-slider.so | |
67 | %{_datadir}/xfce4/panel/plugins/generic-slider.desktop | |
68 | %{_iconsdir}/hicolor/*x*/apps/org.xfce.panel.genericslider.png | |
69 | %{_iconsdir}/hicolor/scalable/apps/org.xfce.panel.genericslider.svg |