avatar
abondrov has added 6fc29ce0f1
Minor cleanups
view file @ 6fc29ce0f1
... ... --- a/xfce4-dockbarx-plugin.spec
... ... +++ b/xfce4-dockbarx-plugin.spec
... ... @@ -1,20 +1,18 @@
1
%define     debug_package %{nil}
1
%define debug_package %{nil}
2 2
3 3
Summary:	A plugin that embeds DockbarX into Xfce4-panel
4 4
Name:		xfce4-dockbarx-plugin
5 5
Version:	0.4.1
6
Release:	1
6
Release:	2
7 7
License:	MIT
8 8
Group:		Development/Other
9 9
Url:		https://github.com/TiZ-EX1/xfce4-dockbarx-plugin
10 10
Source0:	https://github.com/TiZ-EX1/xfce4-dockbarx-plugin/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
11
12
BuildRequires:  waf
13
BuildRequires:  vala-devel
14
BuildRequires:  %{_lib}xfce4panel-devel
15
BuildRequires:  xfconf >= 4.8
16
BuildRequires:  dockbarx >= 0.49
17
11
BuildRequires:	dockbarx >= 0.49
12
BuildRequires:	waf
13
BuildRequires:	xfconf >= 4.8
14
BuildRequires:	pkgconfig(libxfce4panel-2.0)
15
BuildRequires:	pkgconfig(vapigen)
18 16
19 17
%description
20 18
A plugin that embeds DockbarX into Xfce4-panel.
... ... @@ -32,16 +30,16 @@ A plugin that embeds DockbarX into Xfce4-panel.
30 30
%setup -q
31 31
32 32
%build
33
./waf configure --prefix=/usr --libdir=%{_libdir} --destdir=%{buildroot}
33
./waf configure --prefix=%{_prefix} --libdir=%{_libdir} --destdir=%{buildroot}
34 34
./waf build
35 35
36 36
%install
37
mkdir -p %{buildroot}/%{_libdir}/xfce4/panel/plugins
38
mkdir -p %{buildroot}/%{_datadir}/xfce4/panel/plugins
39
mkdir -p %{buildroot}/%{_datadir}/dockbarx/themes
37
mkdir -p %{buildroot}%{_libdir}/xfce4/panel/plugins
38
mkdir -p %{buildroot}%{_datadir}/xfce4/panel/plugins
39
mkdir -p %{buildroot}%{_datadir}/dockbarx/themes
40 40
41
install -m644 build/libdockbarx.so %{buildroot}/%{_libdir}/xfce4/panel/plugins
42
install -m644 build/data/dockbarx.desktop %{buildroot}/%{_datadir}/xfce4/panel/plugins
43
install -m755 src/xfce4-dockbarx-plug.py %{buildroot}/%{_datadir}/xfce4/panel/plugins/xfce4-dockbarx-plug
41
install -m644 build/libdockbarx.so %{buildroot}%{_libdir}/xfce4/panel/plugins
42
install -m644 build/data/dockbarx.desktop %{buildroot}%{_datadir}/xfce4/panel/plugins
43
install -m755 src/xfce4-dockbarx-plug.py %{buildroot}%{_datadir}/xfce4/panel/plugins/xfce4-dockbarx-plug
44 44
45
install -m644 data/Mouse*.tar.gz %{buildroot}/%{_datadir}/dockbarx/themes
45
\ No newline at end of file
45
install -m644 data/Mouse*.tar.gz %{buildroot}%{_datadir}/dockbarx/themes

Comments