source: projects/specs/trunk/x/xfce4-dict/xfce4-dict-vl.spec @ 9400

Revision 9400, 2.8 KB checked in by inagaki, 9 years ago (diff)

2015-03-01 Ryoichi INAGAKI <ryo1@…>

  • mousepad, parole, xarchiver, xfburn, xfce4-screenshooter, xfce4-taskmanager: updated
  • orage, thunar-*-plugin, xfce4-dict, xfce4-mixer, xfce4-notifyd, xfce4-terminal: rebuilt
  • ristretto: NEW
  • xfce4-appfinder: enabled gtk3


Line 
1Name:           xfce4-dict
2Summary:        Dictionary services for Xfce
3Summary(ja):    Xfce の辞書サービス
4Version:        0.7.0
5Release:        3%{?_dist_release}
6
7License:        GPLv2+
8Group:          Applications/Accessories
9URL:            http://goodies.xfce.org/projects/applications/%{name}
10
11Source0:        http://archive.xfce.org/src/apps/%{name}/0.7/%{name}-%{version}.tar.bz2
12
13BuildRoot:     %{_tmppath}/%{name}-%{version}-root
14BuildRequires: desktop-file-utils
15BuildRequires: gtk2-devel >= 2.20.0
16BuildRequires: libxfce4ui-devel >= 4.10.0
17BuildRequires: libxfce4util-devel >= 4.10.0
18BuildRequires: xfce4-panel-devel >= 4.10.0
19BuildRequires: libX11-devel
20BuildRequires: xfce4-dev-tools
21
22Requires(post,postun):  desktop-file-utils
23
24Vendor:         Project Vine
25Distribution:   Vine Linux
26Packager:       Takemikaduchi, inagaki
27
28
29%description
30This program allows you to search different kinds of dictionary services
31for words or phrases and shows you the result.
32Currently you can query a "Dict" server(RFC 2229), any online dictionary
33service by opening a web browser or search for words using a spell check
34program like aspell, ispell or enchant.
35
36
37%prep
38%setup -q
39
40%build
41%configure --disable-static
42make %{?_smp_mflags}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46make install DESTDIR=$RPM_BUILD_ROOT
47
48find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
49
50desktop-file-install \
51        --add-category="X-XFCE" \
52        --delete-original \
53        --dir=%{buildroot}%{_datadir}/applications \
54        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-dict.desktop
55
56%find_lang %{name}
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61
62%post
63touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
64gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
65update-desktop-database %{_datadir}/applications &> /dev/null || :
66
67%postun
68if [ $1 -eq 0 ]; then
69    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
70    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
71fi
72update-desktop-database %{_datadir}/applications &> /dev/null || :
73
74
75%files -f %{name}.lang
76%defattr(-,root,root,-)
77%doc AUTHORS ChangeLog NEWS COPYING
78%{_bindir}/xfce4-dict
79%{_libdir}/xfce4/panel/plugins/libxfce4dict.so
80%{_datadir}/applications/xfce4-dict.desktop
81%{_datadir}/icons/hicolor/*/*/*
82%{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
83%{_mandir}/man1/xfce4-dict.1.gz
84
85%changelog
86* Sun Mar  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-3
87- rebuilt with libxfce4util 4.12.1
88
89* Thu Feb  5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-2
90- fixed %%post script
91- moved to Applications/Accessories Group
92
93* Sun Sep 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-1
94- updated to 0.7.0
95
96* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-2
97- rebuild with VineSeed environment
98
99* Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-1
100- initial build for Vine Linux
101
Note: See TracBrowser for help on using the repository browser.