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

Revision 8953, 2.9 KB checked in by inagaki, 10 years ago (diff)

2014-09-15 Ryoichi INAGAKI <ryo1@…>

  • gtk-xfcc-engine, mousepad, thunar-archive-plugin thunar-media-tags-plugin, xfce4-dict, xfce4-notifyd xfce4-taskmanager: update


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