]>
Commit | Line | Data |
---|---|---|
11a8c4da PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: Docky - a full fledged dock application | |
3 | Name: docky | |
56321f9a | 4 | Version: 2.0.11 |
8bb3e933 | 5 | Release: 2 |
ac36f669 | 6 | License: GPL v3+ |
11a8c4da | 7 | Group: X11/Applications |
b9f4546d | 8 | Source0: http://launchpad.net/docky/2.0/%{version}/+download/%{name}-%{version}.tar.gz |
56321f9a | 9 | # Source0-md5: c79edc09358252ebb7d298cdc56905fb |
c8130a74 | 10 | URL: https://launchpad.net/docky/ |
11a8c4da PZ |
11 | BuildRequires: GConf2-devel |
12 | BuildRequires: autoconf >= 2.54 | |
13 | BuildRequires: automake | |
14 | BuildRequires: dotnet-gnome-desktop-sharp-devel | |
15 | BuildRequires: dotnet-gnome-keyring-sharp-devel >= 96902-2 | |
16 | BuildRequires: dotnet-gnome-sharp-devel | |
17 | BuildRequires: dotnet-gtk-sharp2-devel | |
18 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel | |
19 | BuildRequires: dotnet-ndesk-dbus-sharp-devel | |
20 | BuildRequires: dotnet-notify-sharp-devel | |
21 | BuildRequires: gettext-devel | |
22 | BuildRequires: glib2-devel >= 1:2.18.1 | |
23 | BuildRequires: gtk+2-devel >= 1:2.14.3 | |
24 | BuildRequires: intltool | |
25 | BuildRequires: libtool | |
26 | BuildRequires: mono-addins-devel | |
27 | BuildRequires: mono-csharp >= 1.1.13 | |
28 | BuildRequires: mono-devel >= 2.2.0 | |
29 | BuildRequires: pkgconfig | |
30 | BuildRequires: python-devel | |
688d562f | 31 | BuildRequires: rpm-pythonprov |
a9b02090 | 32 | BuildRequires: rpmbuild(macros) >= 1.219 |
11a8c4da PZ |
33 | BuildRequires: rpmbuild(monoautodeps) |
34 | BuildRequires: sed >= 4.0 | |
8bb3e933 | 35 | Requires(post,postun): gtk-update-icon-cache |
11a8c4da PZ |
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 | |
56 | ||
57 | %build | |
58 | %{__libtoolize} | |
59 | %{__aclocal} -I m4/shamrock | |
60 | %{__autoconf} | |
61 | %{__automake} | |
62 | %configure | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT \ | |
70 | linuxpkgconfigdir=%{_pkgconfigdir} | |
71 | ||
a9b02090 ER |
72 | %py_postclean |
73 | ||
11a8c4da PZ |
74 | %find_lang %{name} --with-gnome |
75 | ||
76 | %post | |
77 | %update_desktop_database_post | |
78 | %update_icon_cache hicolor | |
79 | ||
80 | %postun | |
81 | %update_desktop_database_postun | |
82 | %update_icon_cache hicolor | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %files -f %{name}.lang | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS | |
90 | %attr(755,root,root) %{_bindir}/docky | |
91 | %dir %{_libdir}/docky | |
92 | %attr(755,root,root) %{_libdir}/docky/Docky.exe | |
93 | %{_libdir}/docky/Docky.addins | |
94 | %{_libdir}/docky/Docky.exe.mdb | |
95 | %{_libdir}/docky/Docky.*.dll | |
96 | %{_libdir}/docky/Docky.*.dll.config | |
97 | %{_libdir}/docky/Docky.*.dll.mdb | |
98 | %attr(755,root,root) %{_libdir}/docky/gapi_codegen.exe | |
99 | %{_libdir}/docky/gapi_codegen.exe.mdb | |
100 | %{_libdir}/docky/gio-sharp.dll | |
101 | %{_libdir}/docky/gio-sharp.dll.config | |
102 | %dir %{_libdir}/docky/plugins | |
103 | %{_libdir}/docky/plugins/*.dll | |
104 | %{_libdir}/docky/plugins/*.dll.mdb | |
105 | %dir %{_datadir}/docky | |
106 | %{_datadir}/docky/ClockTheme | |
107 | %{_datadir}/docky/*.png | |
108 | %dir %{_datadir}/docky/helpers | |
109 | # keep .py files in that dir | |
110 | %attr(755,root,root) %{_datadir}/docky/helpers/*.py | |
111 | %attr(755,root,root) %{_datadir}/docky/helpers/metadata | |
112 | %{_datadir}/docky/themes | |
113 | %{_sysconfdir}/xdg/autostart/docky.desktop | |
114 | %{_desktopdir}/docky.desktop | |
115 | %{_iconsdir}/hicolor/*/apps/docky.svg | |
116 | %{_iconsdir}/hicolor/*/apps/gmail.png | |
117 | %{_iconsdir}/hicolor/*/mimetypes/extension.svg | |
118 | %dir %{py_sitescriptdir}/docky | |
119 | %{py_sitescriptdir}/docky/*.py[co] | |
734f5050 | 120 | %{_mandir}/man1/docky.1* |
11a8c4da PZ |
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 |