]> git.pld-linux.org Git - SPECS.git/blob - wingpanel.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / wingpanel.spec
1 %define         rel             1
2 %define         subver  alpha2
3 Summary:        Wing Panel
4 Name:           wingpanel
5 Version:        0.1
6 Release:        0.%{subver}.%{rel}
7 License:        GPL v3
8 Group:          X11/Applications
9 Source0:        https://launchpad.net/wingpanel/0.x/%{version}-%{subver}/+download/%{name}-%{version}-%{subver}.tar.gz
10 # Source0-md5:  2bbeb2c1b9adb580e246580a493e4a0d
11 URL:            https://launchpad.net/wingpanel/
12 BuildRequires:  cmake
13 BuildRequires:  gettext-tools
14 BuildRequires:  glib2-devel
15 BuildRequires:  granite-devel
16 BuildRequires:  gtk+3-devel
17 BuildRequires:  libgee0.6-devel
18 BuildRequires:  libindicator-gtk3-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  vala >= 0.10.0
21 BuildRequires:  xorg-lib-libX11-devel
22 Requires:       gtk-update-icon-cache
23 Requires:       hicolor-icon-theme
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Stylish top panel that holds indicators and spawns an application
28 launcher.
29
30 %prep
31 %setup -qc
32
33 %build
34 install -d build
35 cd build
36 %cmake ..
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install -C build \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sma
45
46 %find_lang %{name}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post
52 %update_desktop_database
53 %update_icon_cache hicolor
54 %glib_compile_schemas
55
56 %postun
57 %update_desktop_database
58 %update_icon_cache hicolor
59 %glib_compile_schemas
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS
64 %attr(755,root,root) %{_bindir}/wingpanel
65 %{_desktopdir}/wingpanel.desktop
66 %{_datadir}/glib-2.0/schemas/org.pantheon.desktop.wingpanel.gschema.xml
67 %{_datadir}/%{name}
68 %{_iconsdir}/hicolor/*/apps/wingpanel.*
This page took 0.104882 seconds and 3 git commands to generate.