1 | %define srcname exo |
---|
2 | |
---|
3 | Summary: Extension library to Xfce |
---|
4 | Summary(ja): Xfce の拡張ライブラリ |
---|
5 | Name: libexo |
---|
6 | Version: 0.10.6 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: LGPLv2+ and GPLv2+ |
---|
11 | URL: http://www.xfce.org/ |
---|
12 | |
---|
13 | Source0: http://archive.xfce.org/src/xfce/exo/0.10/%{srcname}-%{version}.tar.bz2 |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: glib2-devel >= 2.30.0 |
---|
17 | BuildRequires: gtk2-devel >= 2.24.0 |
---|
18 | BuildRequires: libSM-devel |
---|
19 | BuildRequires: intltool |
---|
20 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
21 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
---|
22 | BuildRequires: perl-URI |
---|
23 | BuildRequires: chrpath |
---|
24 | Requires(post): gtk2 |
---|
25 | Requires(postun): gtk2 |
---|
26 | |
---|
27 | Provides: %{srcname} = %{version}-%{release} |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | |
---|
32 | %description |
---|
33 | libexo is the extension library to Xfce developed by os-cillation. |
---|
34 | While Xfce ships with quite a few libraries that are primarly targeted |
---|
35 | at desktop development, libexo is targeted at application development, |
---|
36 | with a focus on applications for Xfce. |
---|
37 | |
---|
38 | %description -l ja |
---|
39 | libexo は os-cillation により開発された Xfce の拡張ライブラリです. |
---|
40 | Xfce はデスクトップ環境の開発を第一の目的としたごくわずかのライブラリ |
---|
41 | と共に作成されていますが,libexo はアプリケーションの開発,それも |
---|
42 | Xfce 用のアプリケーション開発に焦点を定めています. |
---|
43 | |
---|
44 | %package -n %{name}-devel |
---|
45 | Summary: Header files and libraries for developing apps which will use %{name} |
---|
46 | Summary(ja): libexo の開発用ヘッダファイル及びライブラリ |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: gtk2-devel >= 2.24.0 |
---|
50 | Requires: libxfce4util-devel >= 4.10.0 |
---|
51 | Requires: libxfce4ui-devel >= 4.10.0 |
---|
52 | Provides: %{srcname}-devel = %{version}-%{release} |
---|
53 | |
---|
54 | %description -n %{name}-devel |
---|
55 | The libexo-devel package contains the header files and libraries needed |
---|
56 | to develop programs that use the libexo library. |
---|
57 | |
---|
58 | %description -n %{name}-devel -l ja |
---|
59 | libexo-devel は libexo ライブラリを用いるプログラムの開発に |
---|
60 | 必要なヘッダファイル及びライブラリを含むパッケージです。 |
---|
61 | |
---|
62 | %prep |
---|
63 | %setup -q -n %{srcname}-%{version} |
---|
64 | |
---|
65 | %build |
---|
66 | %configure --disable-static |
---|
67 | |
---|
68 | make %{?_smp_mflags} |
---|
69 | |
---|
70 | %install |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
73 | |
---|
74 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
75 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
76 | |
---|
77 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-desktop-item-edit |
---|
78 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-open |
---|
79 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/exo-*/exo-helper-* |
---|
80 | |
---|
81 | %find_lang exo-1 |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %post |
---|
87 | /sbin/ldconfig |
---|
88 | touch --no-create %{_datadir}/icons/hicolor |
---|
89 | |
---|
90 | %postun |
---|
91 | /sbin/ldconfig |
---|
92 | if [ $1 -eq 0 ]; then |
---|
93 | touch --no-create %{_datadir}/icons/hicolor |
---|
94 | /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor; |
---|
95 | fi |
---|
96 | |
---|
97 | %posttrans |
---|
98 | gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || : |
---|
99 | |
---|
100 | |
---|
101 | %files -f exo-1.lang |
---|
102 | %defattr(-,root,root) |
---|
103 | %doc AUTHORS COPYING COPYING.LIB ChangeLog README THANKS TODO |
---|
104 | %config(noreplace) %{_sysconfdir}/xdg/xfce4/helpers.rc |
---|
105 | %{_bindir}/* |
---|
106 | %{_libdir}/lib*.so.* |
---|
107 | %{_libdir}/xfce4/* |
---|
108 | %{_datadir}/applications/*.desktop |
---|
109 | %{_datadir}/icons/hicolor/*/*/*.png |
---|
110 | %{_datadir}/pixmaps/exo-1 |
---|
111 | %{_datadir}/xfce4/helpers |
---|
112 | %{_mandir}/man1/* |
---|
113 | |
---|
114 | %files -n %{name}-devel |
---|
115 | %defattr(-,root,root) |
---|
116 | %{_libdir}/lib*.so |
---|
117 | %{_libdir}/pkgconfig/*.pc |
---|
118 | %{_includedir}/exo-1 |
---|
119 | %{_datadir}/gtk-doc/html/exo-1 |
---|
120 | |
---|
121 | %changelog |
---|
122 | * Thu Jun 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.6-1 |
---|
123 | - new upstream release |
---|
124 | - fixed License (some binaries are licensed under GPLv2+) |
---|
125 | |
---|
126 | * Thu Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.4-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.3-1 |
---|
130 | - new upstrem release |
---|
131 | - removed BR: libnotify-devel, python-devel and pygtk2-devel |
---|
132 | |
---|
133 | * Thu Aug 28 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.2-1 |
---|
134 | - new upstrem release |
---|
135 | |
---|
136 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2 |
---|
137 | - rebuild with VineSeed environment |
---|
138 | |
---|
139 | * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1 |
---|
140 | - new upstrem release |
---|
141 | - remove Patch0 |
---|
142 | - add BuildRequires: libxfce4ui-devel |
---|
143 | |
---|
144 | * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.1-1 |
---|
145 | - new upstrem release |
---|
146 | |
---|
147 | * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-2 |
---|
148 | - add BuildRequires: libSM-devel |
---|
149 | |
---|
150 | * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1 |
---|
151 | - new upstrem release |
---|
152 | |
---|
153 | * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-2 |
---|
154 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
155 | |
---|
156 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1 |
---|
157 | - new upstrem release |
---|
158 | - built with new toolchain |
---|
159 | |
---|
160 | * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1 |
---|
161 | - new upstrem release |
---|
162 | - added BR: perl-URI |
---|
163 | |
---|
164 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2 |
---|
165 | - rebuilt with python-2.6.4 |
---|
166 | |
---|
167 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1 |
---|
168 | - new upstrem release |
---|
169 | |
---|
170 | * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1 |
---|
171 | - new upstrem release |
---|
172 | - removed lib*.a from devel package |
---|
173 | |
---|
174 | * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1 |
---|
175 | - applied with new versioning policy |
---|
176 | - spec in UTF-8 |
---|
177 | |
---|
178 | * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3 |
---|
179 | - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2 |
---|
180 | |
---|
181 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2 |
---|
182 | - new upstream release. |
---|
183 | |
---|
184 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2 |
---|
185 | - build for VineSeed |
---|
186 | |
---|
187 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1 |
---|
188 | - new upstream version |
---|
189 | - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section. |
---|
190 | - add %{_bindir}/* in files section. |
---|
191 | - add %{_libdir}/xfce4 in files section. |
---|
192 | - add %{_libexecdir}/* in files section. |
---|
193 | - add %{_datadir}/icons/hicolor/*/apps/*.png in files section. |
---|
194 | - add %{_mandir}/man1/* in files section. |
---|
195 | - add %{_datadir}/xfce4/doc/*/* in files section. |
---|
196 | - add %{_datadir}/xfce4/helpers in files section. |
---|
197 | - remove %{_datadir}/gtk-doc/html/exo in files section. |
---|
198 | - update icon-cache in %post and %postun. |
---|
199 | |
---|
200 | * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3 |
---|
201 | - changed Group to System Environment/Libraires |
---|
202 | - changed devel Group to Development/Libraries |
---|
203 | - added %post and %postun section |
---|
204 | |
---|
205 | * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2 |
---|
206 | - rebuild for VineSeed |
---|
207 | |
---|
208 | * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1 |
---|
209 | - initial build for Vine Linux |
---|