-
Notifications
You must be signed in to change notification settings - Fork 43
/
xfce4-docklike-plugin.spec
63 lines (46 loc) · 1.38 KB
/
xfce4-docklike-plugin.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
%global git_hash 0a64857f
%if 0%{?fedora} >= 29
%global xfceversion 4.13
%else
%global xfceversion 4.12
%endif
Name: xfce4-docklike-plugin
Version: 0.1
Release: 1.git%{git_hash}%{?dist}
Summary: A modern taskbar for XFCE
License: GPLv3
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: https://github.com/nsz32/docklike-plugin/archive/master.tar.gz
BuildRequires: gcc-c++
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: xfce4-dev-tools
BuildRequires: gtk3-devel
BuildRequires: cairo-devel
BuildRequires: libwnck3-devel
BuildRequires: libtool
Requires: xfce4-panel >= %{xfceversion}
Requires: xfce4-settings
%description
A WIP modern taskbar for XFCE C++ - GTK3 - CSS - DOCK-LIKE - MINIMALISM
%prep
%setup -q -n docklike-plugin-master
%build
./autogen.sh
%configure --disable-static
%make_build
%install
%make_install
# remove la file
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# make sure debuginfo is generated properly
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
#%find_lang %{name}
%files
%license LICENCE
%doc AUTHORS README.md
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Thu Jun 13 2019 Pavel Podkorytov <[email protected]> - 0.1-git
- Initial build