source: projects/specs/trunk/g/gnome-search-tool/gnome-search-tool-vl.spec @ 8538

Revision 8538, 3.1 KB checked in by Takemikaduchi, 10 years ago (diff)

fix desktop file

Line 
1Summary:        GNOME search tool
2Summary(ja):    GNOME 検索ツール
3Name:           gnome-search-tool
4Version:        3.6.0
5Release:        3%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Desktops
8URL:            http://www.gnome.org
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  libSM-devel
16BuildRequires:  itstool
17BuildRequires:  desktop-file-utils
18
19Requires(postun,posttrans):     glib2
20Requires(postun,posttrans):     desktop-file-utils
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26
27%description
28gnome-search-tool is a utility for finding files on your system. To perform a
29basic search, you can type a filename or a partial filename,
30with or without wildcards. To refine your search, you can
31apply additional search options.
32
33%description -l ja
34gnome-search-tool はシステム内のファイルを検索するユーティリティーです。
35基本的な検索を行うには、ファイル名かファイル名の一部をワイルドカードあり
36またはなしでタイプします。詳細検索を行うには、追加検索オプションを適用します。
37
38
39%package        devel
40Summary:        Development files for %{name}
41Summary(ja):    %{name} の開発ファイル
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       pkgconfig
45Requires:       gobject-introspection-devel
46
47%description    devel
48The %{name}-devel package contains libraries and header files for
49developing applications that use %{name}.
50
51
52%package        doc
53Summary:        Documentation for %{name}
54Summary(ja):    %{name} 用のドキュメント
55Group:          Documentation
56Requires:       %{name} = %{version}-%{release}
57BuildArch:      noarch
58
59%description    doc
60This package contains documentation for %{name}.
61
62
63%prep
64%setup -q
65
66%build
67%configure
68make %{?_smp_mflags}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72make install DESTDIR=$RPM_BUILD_ROOT
73
74desktop-file-install --vendor gnome --delete-original           \
75        --dir $RPM_BUILD_ROOT%{_datadir}/applications                   \
76        --add-only-show-in GNOME                                                                \
77        --remove-not-show-in KDE                                                                \
78        $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
79
80%find_lang %{name} --all-name --with-gnome
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%postun
86glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
87update-desktop-database -q &> /dev/null ||:
88
89%posttrans
90glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
91update-desktop-database -q &> /dev/null ||:
92
93
94%files -f %{name}.lang
95%defattr(-,root,root,-)
96%{_bindir}/%{name}
97%{_datadir}/GConf/gsettings/%{name}.convert
98%{_datadir}/applications/%{name}.desktop
99%{_datadir}/glib-2.0/schemas/org.gnome.gnome-search-tool.gschema.xml
100%{_datadir}/pixmaps/gsearchtool/thumbnail_frame.png
101%{_mandir}/man1/%{name}.1.gz
102
103
104%changelog
105* Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-3
106- add BuildRequires: desktop-file-utils
107- add OnlyShowIn=GNOME; to gnome-search-tool.desktop
108
109* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
110- rebuild with VineSeed environment
111
112* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
113- initial build
Note: See TracBrowser for help on using the repository browser.