1 Summary: Plank is meant to be the simplest dock on the planet
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
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)
33 A very simple dock written in Vala.
36 Summary: Development files for %{name}
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Development files for %{name}
48 --disable-silent-rules
52 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libplank.la
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
62 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
64 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sma
69 rm -rf $RPM_BUILD_ROOT
73 %update_desktop_database
74 %update_icon_cache hicolor
78 %update_desktop_database
79 %update_icon_cache hicolor
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*
88 %{_desktopdir}/%{name}.desktop
89 %{_iconsdir}/hicolor/*/apps/%{name}.svg
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