]> git.pld-linux.org Git - SPECS.git/blob - plank.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / plank.spec
1 Summary:        Plank is meant to be the simplest dock on the planet
2 Name:           plank
3 Version:        0.2.0.748
4 Release:        1
5 License:        GPL v3+
6 Group:          X11/Applications
7 URL:            http://wiki.go-docky.com/index.php?title=Plank:Introduction
8 # bzr branch lp:plank; cd plank; bzr up -r748
9 # ./autogen.sh; make dist
10 Source0:        %{name}-%{version}.tar.xz
11 # Source0-md5:  96703e4a0677ae2ca5c1ffd6e570892e
12 BuildRequires:  bamf3-devel
13 BuildRequires:  desktop-file-utils
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel
16 BuildRequires:  gtk+3-devel
17 BuildRequires:  intltool
18 BuildRequires:  libgee0.6-devel
19 BuildRequires:  libwnck-devel
20 BuildRequires:  libxml2-progs
21 BuildRequires:  vala-libgee0.6
22 BuildRequires:  pkgconfig
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  vala
25 BuildRequires:  xz
26 Requires:       bamf-daemon
27 Requires:       gtk-update-icon-cache
28 Requires:       hicolor-icon-theme
29 Requires(post,postun):  /sbin/ldconfig
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 A very simple dock written in Vala.
34
35 %package devel
36 Summary:        Development files for %{name}
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 Development files for %{name}
42
43 %prep
44 %setup -q
45
46 %build
47 %configure \
48         --disable-silent-rules
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libplank.la
57
58 # no apport
59 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/apport/crashdb.conf.d/%{name}-crashdb.conf
60 %{__rm} $RPM_BUILD_ROOT%{_datadir}/apport/package-hooks/source_%{name}.py
61
62 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
63
64 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sma
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 /sbin/ldconfig
73 %update_desktop_database
74 %update_icon_cache hicolor
75
76 %postun
77 /sbin/ldconfig
78 %update_desktop_database
79 %update_icon_cache hicolor
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/%{name}
84 %attr(755,root,root) %{_libdir}/libplank.so.*.*.*
85 %ghost %{_libdir}/libplank.so.0
86 %{_mandir}/man1/%{name}.1*
87 %{_datadir}/%{name}
88 %{_desktopdir}/%{name}.desktop
89 %{_iconsdir}/hicolor/*/apps/%{name}.svg
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_libdir}/libplank.so
94 %{_pkgconfigdir}/%{name}.pc
95 %{_includedir}/%{name}
96 %{_datadir}/vala/vapi/%{name}.vapi
97 %{_datadir}/vala/vapi/%{name}.deps
This page took 0.174166 seconds and 3 git commands to generate.