1 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: rednotebook |
---|
4 | Version: 1.8.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: A desktop journal |
---|
7 | Summary(ja): デスクトップダイアリー |
---|
8 | |
---|
9 | Group: Applications/Productivity |
---|
10 | License: GPLv2+ |
---|
11 | URL: http://rednotebook.sourceforge.net/ |
---|
12 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
13 | #Patch0: fix_install_data.patch |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: python-devel |
---|
18 | BuildRequires: python-setuptools |
---|
19 | BuildRequires: desktop-file-utils |
---|
20 | |
---|
21 | Requires: PyYAML |
---|
22 | Requires: pygtk2 |
---|
23 | Requires: gnome-python-extras |
---|
24 | Requires: hicolor-icon-theme |
---|
25 | Requires: pywebkitgtk |
---|
26 | Requires: python-chardet |
---|
27 | |
---|
28 | %description |
---|
29 | RedNotebook is a desktop journal that makes it very easy for you |
---|
30 | to keep track of the stuff you do and the thoughts you have. This |
---|
31 | journal software helps you to write whole passages or just facts, |
---|
32 | and does so in style. |
---|
33 | |
---|
34 | %description-l ja |
---|
35 | RedNotebook はあなたの行動、及び考えているアイデアの推移の |
---|
36 | 追跡を非常に簡単にするデスクトップ・ジャーナルです。 |
---|
37 | このジャーナル・ソフトウェアは、あなたが全体の推移、 |
---|
38 | あるいは事実の記載をスタイリッシュに行えるよう手助けします。 |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | #%patch0 -p1 |
---|
43 | |
---|
44 | |
---|
45 | %build |
---|
46 | python setup.py build |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf %{buildroot} |
---|
51 | python setup.py install --skip-build --root %{buildroot} |
---|
52 | |
---|
53 | %find_lang %{name} |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf %{buildroot} |
---|
57 | |
---|
58 | |
---|
59 | %post |
---|
60 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
61 | |
---|
62 | |
---|
63 | %postun |
---|
64 | if [ $1 -eq 0 ] ; then |
---|
65 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
66 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
67 | fi |
---|
68 | |
---|
69 | |
---|
70 | %posttrans |
---|
71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
72 | |
---|
73 | |
---|
74 | %files -f %{name}.lang |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc AUTHORS CHANGELOG LICENSE README |
---|
77 | %{_bindir}/%{name} |
---|
78 | %{_datadir}/applications/%{name}.desktop |
---|
79 | %{_datadir}/icons/hicolor/*/*/%{name}.* |
---|
80 | %{python_sitelib}/%{name}/ |
---|
81 | %{python_sitelib}/%{name}*.egg-info |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Mon Dec 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Sun Jul 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.2-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Sat Mar 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.1-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.6-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Sat Dec 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.5-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sat Dec 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.3-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Fri Nov 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Tue Nov 13 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.1-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Thu Nov 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Sat Jul 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-2 |
---|
112 | - replaced source |
---|
113 | - fixed install data (merged patch) |
---|
114 | |
---|
115 | * Fri Jul 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1 |
---|
116 | - new upstream release |
---|
117 | - added Patch0 to fix install data |
---|
118 | |
---|
119 | * Tue Jun 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sat Oct 08 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Sat Aug 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.8-1 |
---|
129 | - new upstream release |
---|
130 | - changed URL |
---|
131 | |
---|
132 | * Thu Jul 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.7-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Fri May 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.6-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.5-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.4-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Tue Dec 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.2-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Mon Aug 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.1-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Wed Aug 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1 |
---|
151 | - new upstream release |
---|
152 | |
---|
153 | * Wed Jun 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.0-1 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.5-1 |
---|
157 | - new upstream release |
---|
158 | - added Requires: pywebkitgtk, python-chardet |
---|
159 | |
---|
160 | * Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.4-1 |
---|
161 | - new upstream release |
---|
162 | |
---|
163 | * Wed Feb 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.3-1 |
---|
164 | - new upstream release |
---|
165 | |
---|
166 | * Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-2 |
---|
167 | - rebuilt with python-2.6.4-3 |
---|
168 | |
---|
169 | * Fri Jan 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-1 |
---|
170 | - initial build for VineSeed |
---|
171 | |
---|
172 | * Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6.1-1 |
---|
173 | - Update to 0.8.6.1, fixes #523880 |
---|
174 | |
---|
175 | * Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-2 |
---|
176 | - Fix libglade error with GTK 2.16.6 (#523880) |
---|
177 | |
---|
178 | * Fri Sep 04 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-1 |
---|
179 | - Updated to new upstream version 0.8.6 |
---|
180 | |
---|
181 | * Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1 |
---|
182 | - Updated to new upstream version 0.8.5 (fixes #518778) |
---|
183 | |
---|
184 | * Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1 |
---|
185 | - Updated to new upstream version 0.8.4 |
---|
186 | |
---|
187 | * Fri Aug 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1 |
---|
188 | - Updated to new upstream version 0.8.3 |
---|
189 | |
---|
190 | * Wed Jul 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1 |
---|
191 | - Updated to new upstream version 0.8.2 |
---|
192 | |
---|
193 | * Sat Jul 25 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1 |
---|
194 | - Updated to new upstream version 0.8.1 |
---|
195 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
196 | |
---|
197 | * Wed Jul 22 2009 Fabian Affolter <fabian@bernewireless.net> - 0.8.0-1 |
---|
198 | - Updated BR python |
---|
199 | - Icon cache update added |
---|
200 | - Updated to new upstream version 0.8.0 |
---|
201 | |
---|
202 | * Wed Jul 15 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.6-1 |
---|
203 | - Updated to new upstream version 0.7.6 |
---|
204 | |
---|
205 | * Mon Jul 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.5-1 |
---|
206 | - Removed the shebang stuff, upstream changed this |
---|
207 | - Updated to new upstream version 0.7.5 |
---|
208 | |
---|
209 | * Mon Jun 29 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.4-1 |
---|
210 | - Moved the removing of the shebang to prep section |
---|
211 | - Updated to new upstream version 0.7.4 |
---|
212 | |
---|
213 | * Tue May 26 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.2-1 |
---|
214 | - Updated to new upstream version 0.7.2 |
---|
215 | |
---|
216 | * Wed May 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.7.1-1 |
---|
217 | - Updated to new upstream version 0.7.1 |
---|
218 | |
---|
219 | * Wed May 06 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.9-1 |
---|
220 | - Updated to new upstream version 0.6.9 |
---|
221 | |
---|
222 | * Sun May 03 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.8-1 |
---|
223 | - Updated to new upstream version 0.6.8 |
---|
224 | |
---|
225 | * Tue Apr 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.7-1 |
---|
226 | - Updated to new upstream version 0.6.7 |
---|
227 | |
---|
228 | * Tue Apr 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.6-1 |
---|
229 | - Updated to new upstream version 0.6.6 |
---|
230 | |
---|
231 | * Fri Apr 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1 |
---|
232 | - Updated to new upstream version 0.6.5 |
---|
233 | |
---|
234 | * Wed Mar 18 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.2-1 |
---|
235 | - Added hicolor-icon-theme as a requirement |
---|
236 | - Added icons directory |
---|
237 | - Updated to new upstream version 0.6.2 |
---|
238 | |
---|
239 | * Sat Mar 07 2009 Fabian Affolter <fabian@bernewireless.net> - 0.6.1-1 |
---|
240 | - Updated to new upstream version 0.6.1 |
---|
241 | - Renamed docs, added License file |
---|
242 | |
---|
243 | * Thu Feb 12 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.5-1 |
---|
244 | - Updated to new upstream version 0.5.5 |
---|
245 | |
---|
246 | * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.2-1 |
---|
247 | - Updated to new upstream version 0.5.2 |
---|
248 | |
---|
249 | * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 0.5.1-1 |
---|
250 | - Initial package for Fedora |
---|
251 | |
---|