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