]> git.pld-linux.org Git - packages/d-feet.git/blob - d-feet.spec
- updated to 0.3.10
[packages/d-feet.git] / d-feet.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # test suite
4 #
5 Summary:        D-Feet - a D-Bus debugger
6 Summary(pl.UTF-8):      D-Feet - debugger dla magistrali D-Bus
7 Name:           d-feet
8 Version:        0.3.10
9 Release:        1
10 License:        GPL v3+
11 Group:          X11/Applications
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/d-feet/0.3/%{name}-%{version}.tar.xz
13 # Source0-md5:  a1ad05205cc68650c2770eeeb7c81953
14 URL:            http://live.gnome.org/DFeet/
15 BuildRequires:  autoconf >= 2.64
16 BuildRequires:  automake >= 1:1.11
17 BuildRequires:  gnome-common
18 BuildRequires:  gobject-introspection-devel >= 0.9.6
19 BuildRequires:  gtk+3-devel >= 3.10
20 BuildRequires:  intltool >= 0.40.0
21 BuildRequires:  pkgconfig
22 BuildRequires:  python-devel >= 1:2.7
23 %{?with_tests:BuildRequires:    python-pep8}
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  rpmbuild(macros) >= 1.592
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 BuildRequires:  yelp-tools
29 %pyrequires_eq  python-modules
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  glib2-devel >= 1:2.26.0
32 Requires(post,postun):  gtk-update-icon-cache
33 Requires(post,postun):  hicolor-icon-theme
34 Requires:       gtk+3 >= 3.10
35 Requires:       python >= 1:2.7
36 Requires:       python-pygobject3 >= 3.4
37 Suggests:       libwnck >= 3
38 BuildArch:      noarch
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 D-Feet is a D-Bus debugger.
43
44 %description -l pl.UTF-8
45 D-Feet to debugger dla magistrali D-Bus.
46
47 %prep
48 %setup -q
49
50 %build
51 # rebuild with POSIX sh compatible yelp macros
52 %{__intltoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         %{!?with_tests:--disable-tests}
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %py_postclean
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %glib_compile_schemas
75 %update_desktop_database_post
76 %update_icon_cache hicolor
77
78 %postun
79 %glib_compile_schemas
80 %update_desktop_database_postun
81 %update_icon_cache hicolor
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS NEWS README TODO
86 %attr(755,root,root) %{_bindir}/d-feet
87 %{_datadir}/d-feet
88 %{_datadir}/appdata/d-feet.appdata.xml
89 %{_desktopdir}/d-feet.desktop
90 %{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml
91 %{py_sitescriptdir}/dfeet
92 %{_iconsdir}/hicolor/*x*/apps/d-feet.png
93 %{_iconsdir}/hicolor/scalable/apps/d-feet.svg
94 %{_iconsdir}/hicolor/16x16/apps/dfeet-*.png
95 # who owns top dir?
96 #%{_iconsdir}/HighContrast/scalable/apps/d-feet.svg
This page took 0.439582 seconds and 3 git commands to generate.