]>
Commit | Line | Data |
---|---|---|
11a8c4da PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: Docky - a full fledged dock application | |
3 | Name: docky | |
ac36f669 | 4 | Version: 2.0.8 |
5 | Release: 1 | |
6 | License: GPL v3+ | |
11a8c4da | 7 | Group: X11/Applications |
b9f4546d | 8 | Source0: http://launchpad.net/docky/2.0/%{version}/+download/%{name}-%{version}.tar.gz |
ac36f669 | 9 | # Source0-md5: b7c6cce45a468ed3eac8290a85ff117b |
ae007e47 | 10 | Patch0: %{name}-mono28.patch |
c8130a74 | 11 | URL: https://launchpad.net/docky/ |
11a8c4da PZ |
12 | BuildRequires: GConf2-devel |
13 | BuildRequires: autoconf >= 2.54 | |
14 | BuildRequires: automake | |
15 | BuildRequires: dotnet-gnome-desktop-sharp-devel | |
16 | BuildRequires: dotnet-gnome-keyring-sharp-devel >= 96902-2 | |
17 | BuildRequires: dotnet-gnome-sharp-devel | |
18 | BuildRequires: dotnet-gtk-sharp2-devel | |
19 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel | |
20 | BuildRequires: dotnet-ndesk-dbus-sharp-devel | |
21 | BuildRequires: dotnet-notify-sharp-devel | |
22 | BuildRequires: gettext-devel | |
23 | BuildRequires: glib2-devel >= 1:2.18.1 | |
24 | BuildRequires: gtk+2-devel >= 1:2.14.3 | |
25 | BuildRequires: intltool | |
26 | BuildRequires: libtool | |
27 | BuildRequires: mono-addins-devel | |
28 | BuildRequires: mono-csharp >= 1.1.13 | |
29 | BuildRequires: mono-devel >= 2.2.0 | |
30 | BuildRequires: pkgconfig | |
31 | BuildRequires: python-devel | |
688d562f | 32 | BuildRequires: rpm-pythonprov |
a9b02090 | 33 | BuildRequires: rpmbuild(macros) >= 1.219 |
11a8c4da PZ |
34 | BuildRequires: rpmbuild(monoautodeps) |
35 | BuildRequires: sed >= 4.0 | |
36 | Requires(post,postun): hicolor-icon-theme | |
37 | Requires: xdg-utils | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | Docky is a full fledged dock application that makes opening common | |
42 | applications and managing windows easier and quicker. Docky is fully | |
43 | integrated into the GNOME Desktop and features a no non-sense approach | |
44 | to configuration and usage. It just works. | |
45 | ||
46 | %package devel | |
47 | Summary: Development information for Docky plugins | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | ||
51 | %description devel | |
52 | Development information for Docky plugins. | |
53 | ||
54 | %prep | |
55 | %setup -q | |
ae007e47 | 56 | %patch0 -p1 |
11a8c4da PZ |
57 | |
58 | %build | |
59 | %{__libtoolize} | |
60 | %{__aclocal} -I m4/shamrock | |
61 | %{__autoconf} | |
62 | %{__automake} | |
63 | %configure | |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT \ | |
71 | linuxpkgconfigdir=%{_pkgconfigdir} | |
72 | ||
a9b02090 ER |
73 | %py_postclean |
74 | ||
11a8c4da PZ |
75 | %find_lang %{name} --with-gnome |
76 | ||
77 | %post | |
78 | %update_desktop_database_post | |
79 | %update_icon_cache hicolor | |
80 | ||
81 | %postun | |
82 | %update_desktop_database_postun | |
83 | %update_icon_cache hicolor | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %files -f %{name}.lang | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS | |
91 | %attr(755,root,root) %{_bindir}/docky | |
92 | %dir %{_libdir}/docky | |
93 | %attr(755,root,root) %{_libdir}/docky/Docky.exe | |
94 | %{_libdir}/docky/Docky.addins | |
95 | %{_libdir}/docky/Docky.exe.mdb | |
96 | %{_libdir}/docky/Docky.*.dll | |
97 | %{_libdir}/docky/Docky.*.dll.config | |
98 | %{_libdir}/docky/Docky.*.dll.mdb | |
99 | %attr(755,root,root) %{_libdir}/docky/gapi_codegen.exe | |
100 | %{_libdir}/docky/gapi_codegen.exe.mdb | |
101 | %{_libdir}/docky/gio-sharp.dll | |
102 | %{_libdir}/docky/gio-sharp.dll.config | |
103 | %dir %{_libdir}/docky/plugins | |
104 | %{_libdir}/docky/plugins/*.dll | |
105 | %{_libdir}/docky/plugins/*.dll.mdb | |
106 | %dir %{_datadir}/docky | |
107 | %{_datadir}/docky/ClockTheme | |
108 | %{_datadir}/docky/*.png | |
109 | %dir %{_datadir}/docky/helpers | |
110 | # keep .py files in that dir | |
111 | %attr(755,root,root) %{_datadir}/docky/helpers/*.py | |
112 | %attr(755,root,root) %{_datadir}/docky/helpers/metadata | |
113 | %{_datadir}/docky/themes | |
114 | %{_sysconfdir}/xdg/autostart/docky.desktop | |
115 | %{_desktopdir}/docky.desktop | |
116 | %{_iconsdir}/hicolor/*/apps/docky.svg | |
117 | %{_iconsdir}/hicolor/*/apps/gmail.png | |
118 | %{_iconsdir}/hicolor/*/mimetypes/extension.svg | |
119 | %dir %{py_sitescriptdir}/docky | |
120 | %{py_sitescriptdir}/docky/*.py[co] | |
121 | ||
122 | %files devel | |
123 | %defattr(644,root,root,755) | |
124 | %{_pkgconfigdir}/docky.cairohelper.pc | |
125 | %{_pkgconfigdir}/docky.items.pc | |
126 | %{_pkgconfigdir}/docky.services.pc | |
127 | %{_pkgconfigdir}/docky.widgets.pc | |
128 | %{_pkgconfigdir}/docky.windowing.pc |