]>
Commit | Line | Data |
---|---|---|
11a8c4da PZ |
1 | Summary: Docky - a full fledged dock application |
2 | Name: docky | |
254c3e8d | 3 | Version: 2.1.1 |
3581ef38 | 4 | Release: 0.1 |
ac36f669 | 5 | License: GPL v3+ |
11a8c4da | 6 | Group: X11/Applications |
3581ef38 | 7 | Source0: http://launchpad.net/docky/2.1/%{version}/+download/%{name}-%{version}.tar.gz |
254c3e8d | 8 | # Source0-md5: 628418e11088b96d47287dac6e838507 |
c8130a74 | 9 | URL: https://launchpad.net/docky/ |
11a8c4da PZ |
10 | BuildRequires: GConf2-devel |
11 | BuildRequires: autoconf >= 2.54 | |
12 | BuildRequires: automake | |
3581ef38 | 13 | BuildRequires: dotnet-dbus-sharp-devel >= 1:0.7.0 |
14 | BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5.0 | |
15 | BuildRequires: dotnet-gio-sharp-devel >= 0.2-2 | |
11a8c4da | 16 | BuildRequires: dotnet-gnome-desktop-sharp-devel |
3581ef38 | 17 | BuildRequires: dotnet-gnome-keyring-sharp-devel >= 1.0.0 |
11a8c4da | 18 | BuildRequires: dotnet-gnome-sharp-devel |
11a8c4da | 19 | BuildRequires: dotnet-notify-sharp-devel |
d154f10c | 20 | BuildRequires: gettext-tools |
11a8c4da PZ |
21 | BuildRequires: glib2-devel >= 1:2.18.1 |
22 | BuildRequires: gtk+2-devel >= 1:2.14.3 | |
23 | BuildRequires: intltool | |
24 | BuildRequires: libtool | |
25 | BuildRequires: mono-addins-devel | |
26 | BuildRequires: mono-csharp >= 1.1.13 | |
27 | BuildRequires: mono-devel >= 2.2.0 | |
28 | BuildRequires: pkgconfig | |
29 | BuildRequires: python-devel | |
688d562f | 30 | BuildRequires: rpm-pythonprov |
a9b02090 | 31 | BuildRequires: rpmbuild(macros) >= 1.219 |
11a8c4da PZ |
32 | BuildRequires: rpmbuild(monoautodeps) |
33 | BuildRequires: sed >= 4.0 | |
8bb3e933 | 34 | Requires(post,postun): gtk-update-icon-cache |
11a8c4da PZ |
35 | Requires(post,postun): hicolor-icon-theme |
36 | Requires: xdg-utils | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | Docky is a full fledged dock application that makes opening common | |
41 | applications and managing windows easier and quicker. Docky is fully | |
42 | integrated into the GNOME Desktop and features a no non-sense approach | |
43 | to configuration and usage. It just works. | |
44 | ||
45 | %package devel | |
46 | Summary: Development information for Docky plugins | |
47 | Group: X11/Development/Libraries | |
48 | Requires: %{name} = %{version}-%{release} | |
49 | ||
50 | %description devel | |
51 | Development information for Docky plugins. | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
57 | %{__libtoolize} | |
58 | %{__aclocal} -I m4/shamrock | |
59 | %{__autoconf} | |
60 | %{__automake} | |
3581ef38 | 61 | %configure \ |
62 | --enable-release | |
11a8c4da PZ |
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 | |
3581ef38 | 94 | #%%{_libdir}/docky/Docky.exe.mdb |
11a8c4da PZ |
95 | %{_libdir}/docky/Docky.*.dll |
96 | %{_libdir}/docky/Docky.*.dll.config | |
3581ef38 | 97 | #%%{_libdir}/docky/Docky.*.dll.mdb |
98 | #%%attr(755,root,root) %{_libdir}/docky/gapi_codegen.exe | |
99 | #%%{_libdir}/docky/gapi_codegen.exe.mdb | |
11a8c4da PZ |
100 | %{_libdir}/docky/gio-sharp.dll |
101 | %{_libdir}/docky/gio-sharp.dll.config | |
102 | %dir %{_libdir}/docky/plugins | |
103 | %{_libdir}/docky/plugins/*.dll | |
3581ef38 | 104 | #%%{_libdir}/docky/plugins/*.dll.mdb |
11a8c4da PZ |
105 | %dir %{_datadir}/docky |
106 | %{_datadir}/docky/ClockTheme | |
107 | %{_datadir}/docky/*.png | |
3581ef38 | 108 | #%%dir %{_datadir}/docky/helpers |
11a8c4da | 109 | # keep .py files in that dir |
3581ef38 | 110 | #%%attr(755,root,root) %{_datadir}/docky/helpers/*.py |
111 | #%%attr(755,root,root) %{_datadir}/docky/helpers/metadata | |
11a8c4da | 112 | %{_datadir}/docky/themes |
254c3e8d | 113 | #%%{_sysconfdir}/xdg/autostart/docky.desktop |
11a8c4da PZ |
114 | %{_desktopdir}/docky.desktop |
115 | %{_iconsdir}/hicolor/*/apps/docky.svg | |
116 | %{_iconsdir}/hicolor/*/apps/gmail.png | |
117 | %{_iconsdir}/hicolor/*/mimetypes/extension.svg | |
3581ef38 | 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 | |
3581ef38 | 128 | #%%{_pkgconfigdir}/docky.windowing.pc |