source: projects/specs/trunk/r/rednotebook/rednotebook-vl.spec @ 4877

Revision 4877, 6.5 KB checked in by kudoh, 13 years ago (diff)

%{!?python_sitelib: %global python_sitelib %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name: rednotebook
Version: 1.2.0
Release: 1%{?_dist_release}
Summary: A desktop journal
Summary(ja): デスクトップダイアリー

Group: Applications/Productivity?
License: GPLv2+
URL:  http://rednotebook.sourceforge.net/
Source0:  http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot?: %{_tmppath}/%{name}-%{version}-root
BuildArch?: noarch

BuildRequires?: python-devel
BuildRequires?: python-setuptools
BuildRequires?: desktop-file-utils

Requires: PyYAML
Requires: pygtk2
Requires: gnome-python-extras
Requires: hicolor-icon-theme
Requires: pywebkitgtk
Requires: python-chardet

%description
RedNotebook? is a desktop journal that makes it very easy for you
to keep track of the stuff you do and the thoughts you have. This
journal software helps you to write whole passages or just facts,
and does so in style.

%description-l ja
RedNotebook? はあなたの行動、及び考えているアイデアの推移の
追跡を非常に簡単にするデスクトップ・ジャーナルです。
このジャーナル・ソフトウェアは、あなたが全体の推移、
あるいは事実の記載をスタイリッシュに行えるよう手助けします。

%prep
%setup -q

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --skip-build --root %{buildroot}

%clean
rm -rf %{buildroot}

%post

touch --no-create %{_datadir}/icons/hicolor &>/dev/null
:

%postun
if [ $1 -eq 0 ] ; then

touch --no-create %{_datadir}/icons/hicolor &>/dev/null

gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
:

fi

%posttrans

gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
:

%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}*.egg-info

%changelog

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