]>
Commit | Line | Data |
---|---|---|
11a8c4da PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: Docky - a full fledged dock application | |
3 | Name: docky | |
4 | Version: 2.0.0 | |
5 | Release: 1 | |
6 | License: GPL v3 | |
7 | Group: X11/Applications | |
8 | Source0: http://launchpad.net/docky/2.0/%{version}/+download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 203b960d291ad41a0e40fe5dfb620cd6 | |
10 | URL: http://do.davebsd.com/ | |
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 | |
31 | BuildRequires: rpmbuild(monoautodeps) | |
32 | BuildRequires: sed >= 4.0 | |
33 | Requires(post,postun): hicolor-icon-theme | |
34 | Requires: xdg-utils | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | Docky is a full fledged dock application that makes opening common | |
39 | applications and managing windows easier and quicker. Docky is fully | |
40 | integrated into the GNOME Desktop and features a no non-sense approach | |
41 | to configuration and usage. It just works. | |
42 | ||
43 | %package devel | |
44 | Summary: Development information for Docky plugins | |
45 | Group: X11/Development/Libraries | |
46 | Requires: %{name} = %{version}-%{release} | |
47 | ||
48 | %description devel | |
49 | Development information for Docky plugins. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} -I m4/shamrock | |
57 | %{__autoconf} | |
58 | %{__automake} | |
59 | %configure | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT \ | |
67 | linuxpkgconfigdir=%{_pkgconfigdir} | |
68 | ||
69 | %find_lang %{name} --with-gnome | |
70 | ||
71 | %post | |
72 | %update_desktop_database_post | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %postun | |
76 | %update_desktop_database_postun | |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files -f %{name}.lang | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS | |
85 | %attr(755,root,root) %{_bindir}/docky | |
86 | %dir %{_libdir}/docky | |
87 | %attr(755,root,root) %{_libdir}/docky/Docky.exe | |
88 | %{_libdir}/docky/Docky.addins | |
89 | %{_libdir}/docky/Docky.exe.mdb | |
90 | %{_libdir}/docky/Docky.*.dll | |
91 | %{_libdir}/docky/Docky.*.dll.config | |
92 | %{_libdir}/docky/Docky.*.dll.mdb | |
93 | %attr(755,root,root) %{_libdir}/docky/gapi_codegen.exe | |
94 | %{_libdir}/docky/gapi_codegen.exe.mdb | |
95 | %{_libdir}/docky/gio-sharp.dll | |
96 | %{_libdir}/docky/gio-sharp.dll.config | |
97 | %dir %{_libdir}/docky/plugins | |
98 | %{_libdir}/docky/plugins/*.dll | |
99 | %{_libdir}/docky/plugins/*.dll.mdb | |
100 | %dir %{_datadir}/docky | |
101 | %{_datadir}/docky/ClockTheme | |
102 | %{_datadir}/docky/*.png | |
103 | %dir %{_datadir}/docky/helpers | |
104 | # keep .py files in that dir | |
105 | %attr(755,root,root) %{_datadir}/docky/helpers/*.py | |
106 | %attr(755,root,root) %{_datadir}/docky/helpers/metadata | |
107 | %{_datadir}/docky/themes | |
108 | %{_sysconfdir}/xdg/autostart/docky.desktop | |
109 | %{_desktopdir}/docky.desktop | |
110 | %{_iconsdir}/hicolor/*/apps/docky.svg | |
111 | %{_iconsdir}/hicolor/*/apps/gmail.png | |
112 | %{_iconsdir}/hicolor/*/mimetypes/extension.svg | |
113 | %dir %{py_sitescriptdir}/docky | |
114 | %{py_sitescriptdir}/docky/*.py[co] | |
115 | ||
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
118 | %{_pkgconfigdir}/docky.cairohelper.pc | |
119 | %{_pkgconfigdir}/docky.items.pc | |
120 | %{_pkgconfigdir}/docky.services.pc | |
121 | %{_pkgconfigdir}/docky.widgets.pc | |
122 | %{_pkgconfigdir}/docky.windowing.pc |