]> git.pld-linux.org Git - packages/docky.git/blob - docky.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/docky.git] / docky.spec
1 Summary:        Docky - a full fledged dock application
2 Name:           docky
3 Version:        2.1.1
4 Release:        0.1
5 License:        GPL v3+
6 Group:          X11/Applications
7 Source0:        http://launchpad.net/docky/2.1/%{version}/+download/%{name}-%{version}.tar.gz
8 # Source0-md5:  628418e11088b96d47287dac6e838507
9 URL:            https://launchpad.net/docky/
10 BuildRequires:  GConf2-devel
11 BuildRequires:  autoconf >= 2.54
12 BuildRequires:  automake
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
16 BuildRequires:  dotnet-gnome-desktop-sharp-devel
17 BuildRequires:  dotnet-gnome-keyring-sharp-devel >= 1.0.0
18 BuildRequires:  dotnet-gnome-sharp-devel
19 BuildRequires:  dotnet-notify-sharp-devel
20 BuildRequires:  gettext-tools
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
30 BuildRequires:  rpm-pythonprov
31 BuildRequires:  rpmbuild(macros) >= 1.219
32 BuildRequires:  rpmbuild(monoautodeps)
33 BuildRequires:  sed >= 4.0
34 Requires(post,postun):  gtk-update-icon-cache
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}
61 %configure \
62         --enable-release
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         linuxpkgconfigdir=%{_pkgconfigdir}
71
72 %py_postclean
73
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]
120 %{_mandir}/man1/docky.1*
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
This page took 0.125453 seconds and 3 git commands to generate.