]>
Commit | Line | Data |
---|---|---|
540c93ef ER |
1 | Summary: Plank is meant to be the simplest dock on the planet |
2 | Name: plank | |
a1850cab ER |
3 | Version: 0.2.0.748 |
4 | Release: 1 | |
540c93ef ER |
5 | License: GPL v3+ |
6 | Group: X11/Applications | |
7 | URL: http://wiki.go-docky.com/index.php?title=Plank:Introduction | |
a1850cab | 8 | # bzr branch lp:plank; cd plank; bzr up -r748 |
540c93ef | 9 | # ./autogen.sh; make dist |
a1850cab ER |
10 | Source0: %{name}-%{version}.tar.xz |
11 | # Source0-md5: 96703e4a0677ae2ca5c1ffd6e570892e | |
540c93ef ER |
12 | BuildRequires: bamf3-devel |
13 | BuildRequires: desktop-file-utils | |
1681e99a | 14 | BuildRequires: gettext-devel |
540c93ef | 15 | BuildRequires: glib2-devel |
540c93ef ER |
16 | BuildRequires: gtk+3-devel |
17 | BuildRequires: intltool | |
18 | BuildRequires: libgee0.6-devel | |
19 | BuildRequires: libwnck-devel | |
9e0046c0 | 20 | BuildRequires: libxml2-progs |
1681e99a ER |
21 | BuildRequires: vala-libgee0.6 |
22 | BuildRequires: pkgconfig | |
540c93ef ER |
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 | |
a1850cab | 44 | %setup -q |
540c93ef ER |
45 | |
46 | %build | |
a1850cab ER |
47 | %configure \ |
48 | --disable-silent-rules | |
49 | %{__make} | |
540c93ef ER |
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 | ||
1681e99a | 64 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sma |
540c93ef ER |
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 |