1 | Summary: D-Bus Debugger |
---|
2 | Summary(ja): D-Bus デバッガ |
---|
3 | Name: d-feet |
---|
4 | Version: 0.3.9 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: Development/Debuggers |
---|
8 | URL: https://live.gnome.org/DFeet/ |
---|
9 | |
---|
10 | Source0: http://download.gnome.org/sources/d-feet/0.3/%{name}-%{version}.tar.xz |
---|
11 | Patch0: d-feet-desktop-keywords.patch |
---|
12 | |
---|
13 | BuildArch: noarch |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRequires: gettext |
---|
18 | BuildRequires: glib2-devel |
---|
19 | BuildRequires: gobject-introspection-devel |
---|
20 | BuildRequires: gtk3-devel |
---|
21 | BuildRequires: intltool |
---|
22 | BuildRequires: itstool |
---|
23 | #BuildRequires: libappstream-glib |
---|
24 | Requires: libwnck3 |
---|
25 | Requires: pygobject3 |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | Packager: Takemikaduchi |
---|
30 | |
---|
31 | |
---|
32 | %description |
---|
33 | D-Feet is an easy to use D-Bus debugger. D-Feet can be used to inspect D-Bus |
---|
34 | interfaces of running programs and invoke methods on those interfaces. |
---|
35 | |
---|
36 | %description -l ja |
---|
37 | D-Feet は簡単に使える D-Bus デバッガです。D-Feet は実行中のプログラムの D-Bus |
---|
38 | インタフェースを調べたり、これらのインタフェースのメソッドを呼び出すときに |
---|
39 | 使えるプログラムです。 |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | %patch0 -p1 -b .keywords |
---|
44 | |
---|
45 | %build |
---|
46 | %configure --disable-tests |
---|
47 | make %{?_smp_mflags} |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
52 | |
---|
53 | # Update the screenshot shown in the software center |
---|
54 | # |
---|
55 | # NOTE: It would be *awesome* if this file was pushed upstream. |
---|
56 | # |
---|
57 | # See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. |
---|
58 | # |
---|
59 | #appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/d-feet.appdata.xml \ |
---|
60 | # https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/a.png \ |
---|
61 | # https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/d-feet/b.png |
---|
62 | |
---|
63 | %find_lang d-feet --with-gnome |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %check |
---|
69 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/d-feet.desktop |
---|
70 | |
---|
71 | %post |
---|
72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
73 | |
---|
74 | %postun |
---|
75 | if [ $1 -eq 0 ]; then |
---|
76 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
77 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
78 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
79 | fi |
---|
80 | |
---|
81 | %posttrans |
---|
82 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
83 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
84 | |
---|
85 | |
---|
86 | %files -f d-feet.lang |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %doc AUTHORS COPYING README NEWS |
---|
89 | %{_bindir}/%{name} |
---|
90 | #{python_sitelib}/d_feet-%{version}-py2.7.egg-info |
---|
91 | %{python_sitelib}/dfeet |
---|
92 | %{_datadir}/appdata/d-feet.appdata.xml |
---|
93 | %{_datadir}/applications/d-feet.desktop |
---|
94 | %{_datadir}/d-feet |
---|
95 | %{_datadir}/glib-2.0/schemas/org.gnome.d-feet.gschema.xml |
---|
96 | %{_datadir}/icons/hicolor/*/*/* |
---|
97 | %{_datadir}/icons/HighContrast/*/*/* |
---|
98 | |
---|
99 | |
---|
100 | %changelog |
---|
101 | * Fri Apr 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.3.9-1 |
---|
102 | - updated to 0.3.9 |
---|
103 | - updated BR |
---|
104 | - moved to Development/Debuggers Group |
---|
105 | |
---|
106 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-2 |
---|
107 | - fix typo in Group |
---|
108 | |
---|
109 | * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.15-1 |
---|
110 | - initial build |
---|