]>
Commit | Line | Data |
---|---|---|
11a8c4da PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: Docky - a full fledged dock application | |
3 | Name: docky | |
3581ef38 | 4 | Version: 2.1.0 |
5 | Release: 0.1 | |
ac36f669 | 6 | License: GPL v3+ |
11a8c4da | 7 | Group: X11/Applications |
3581ef38 | 8 | Source0: http://launchpad.net/docky/2.1/%{version}/+download/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6643484dc1db2b60d3ed5159a461f6bb | |
c8130a74 | 10 | URL: https://launchpad.net/docky/ |
11a8c4da PZ |
11 | BuildRequires: GConf2-devel |
12 | BuildRequires: autoconf >= 2.54 | |
13 | BuildRequires: automake | |
3581ef38 | 14 | BuildRequires: dotnet-dbus-sharp-devel >= 1:0.7.0 |
15 | BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5.0 | |
16 | BuildRequires: dotnet-gio-sharp-devel >= 0.2-2 | |
11a8c4da | 17 | BuildRequires: dotnet-gnome-desktop-sharp-devel |
3581ef38 | 18 | BuildRequires: dotnet-gnome-keyring-sharp-devel >= 1.0.0 |
11a8c4da | 19 | BuildRequires: dotnet-gnome-sharp-devel |
11a8c4da PZ |
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} | |
3581ef38 | 62 | %configure \ |
63 | --enable-release | |
11a8c4da PZ |
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 | |
3581ef38 | 95 | #%%{_libdir}/docky/Docky.exe.mdb |
11a8c4da PZ |
96 | %{_libdir}/docky/Docky.*.dll |
97 | %{_libdir}/docky/Docky.*.dll.config | |
3581ef38 | 98 | #%%{_libdir}/docky/Docky.*.dll.mdb |
99 | #%%attr(755,root,root) %{_libdir}/docky/gapi_codegen.exe | |
100 | #%%{_libdir}/docky/gapi_codegen.exe.mdb | |
11a8c4da PZ |
101 | %{_libdir}/docky/gio-sharp.dll |
102 | %{_libdir}/docky/gio-sharp.dll.config | |
103 | %dir %{_libdir}/docky/plugins | |
104 | %{_libdir}/docky/plugins/*.dll | |
3581ef38 | 105 | #%%{_libdir}/docky/plugins/*.dll.mdb |
11a8c4da PZ |
106 | %dir %{_datadir}/docky |
107 | %{_datadir}/docky/ClockTheme | |
108 | %{_datadir}/docky/*.png | |
3581ef38 | 109 | #%%dir %{_datadir}/docky/helpers |
11a8c4da | 110 | # keep .py files in that dir |
3581ef38 | 111 | #%%attr(755,root,root) %{_datadir}/docky/helpers/*.py |
112 | #%%attr(755,root,root) %{_datadir}/docky/helpers/metadata | |
11a8c4da PZ |
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 | |
3581ef38 | 119 | #%%dir %{py_sitescriptdir}/docky |
120 | #%%{py_sitescriptdir}/docky/*.py[co] | |
734f5050 | 121 | %{_mandir}/man1/docky.1* |
11a8c4da PZ |
122 | |
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %{_pkgconfigdir}/docky.cairohelper.pc | |
126 | %{_pkgconfigdir}/docky.items.pc | |
127 | %{_pkgconfigdir}/docky.services.pc | |
128 | %{_pkgconfigdir}/docky.widgets.pc | |
3581ef38 | 129 | #%%{_pkgconfigdir}/docky.windowing.pc |