source: projects/specs/trunk/k/keepnote/keepnote-vl.spec @ 5407

Revision 5407, 4.6 KB checked in by kudoh, 12 years ago (diff)

keepnote-vl.spec

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary:        A note taking application
4Summary(ja):    ノート作成アプリケーション
5Name:           keepnote
6Version:        0.7.7
7Release:        1%{?_dist_release}
8Group:          Applications/Editors
9License:        GPLv2+
10URL:            http://rasm.ods.org/keepnote/
11Source0:        %{name}/%{name}-%{version}.tar.gz
12#Source1:        ja_JP.UTF8.po
13
14Patch1:         Makefile_gettetxt.patch
15Patch2:         fix_desktop.patch
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildArch:      noarch
19
20BuildRequires:  python-devel
21BuildRequires:  python-setuptools
22BuildRequires:  gtkspell-devel
23BuildRequires:  desktop-file-utils
24# for Japanese language file build
25BuildRequires:  gettext
26BuildRequires:  intltool
27
28Requires:       pygtk2
29Requires:       gnome-python-extras
30
31%description
32KeepNote is a note taking application that works on Windows, Linux, and Mac OS X.
33With KeepNote, you can store your class notes, TODO lists, research notes,
34journal entries, paper outlines, etc in a simple notebook hierarchy with
35rich-text formatting, images, and more. Using full-text search, you can
36retrieve any note for later reference.
37
38%description -l ja     
39KeepNote は Windows、Linux、Mac OS X で動作するノート作成アプリケーションです。
40KeepNote では、あなたの分類ノート、TODO リスト、研究ノート、
41日記のエントリ、新聞の概略などを階層化したリッチテキストフォーマットや
42画像付きなどのシンプルなノートとして保存することができます。
43フルテキスト検索を使い、後で参照するために取ったメモを検索できます。
44
45%prep
46%setup -q
47%patch1 -p1
48%patch2 -p1
49
50#%{__cp} -f %{SOURCE1} gettext/ja_JP.UTF8.po
51#make -f Makefile.gettext make LANG=ja_JP.UTF8
52
53%build
54python setup.py build
55
56
57%install
58rm -rf %{buildroot}
59python setup.py install --skip-build --root %{buildroot}
60
61desktop-file-install --vendor="" \
62     --delete-original \
63     --add-category="Office;" \
64     --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
65
66
67
68%clean
69rm -rf %{buildroot}
70
71%post
72touch --no-create %{_datadir}/icons/hicolor || :
73%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
74update-desktop-database > /dev/null 2>&1 || :
75
76%postun
77touch --no-create %{_datadir}/icons/hicolor || :
78%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
79update-desktop-database > /dev/null 2>&1 || :
80
81
82%files
83%defattr(-,root,root,-)
84%doc LICENSE README
85%{_bindir}/%{name}
86%{_datadir}/applications/%{name}.desktop
87%{_datadir}/icons/hicolor/48x48/apps/keepnote.png
88%{python_sitelib}/*
89
90
91%changelog
92* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.7-1
93- new upstream release
94
95* Wed Nov 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.6-1
96- new upstream release
97- added patch2 to fix desktop file
98
99* Mon Sep 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.5-1
100- new upstream release
101
102* Thu Jul 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.4-1
103- new upstream release
104
105* Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
106- new upstream release
107- dropt source1
108  - merged upstream
109
110* Tue Jan 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.8-1
111- new upstream release
112
113* Tue Dec 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.7-1
114- new upstream release
115- re-added source1
116- fixed .desktop file a little
117- used python macro
118
119* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.5-1
120- new upstream release
121- added BuildRequires:  gettext, intltool
122
123* Sun Aug 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
124- new upstream release
125
126* Wed Jul 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.3-1
127- new upstream release
128- dropt source1
129  - merged upstream
130
131* Thu May 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-2
132- updated Source1
133- fixed desktop-file-install --add-category section
134
135* Tue Feb 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-1
136- new upstream release
137- updated Source1 and Patch1
138
139* Sat Feb 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-2
140- updated Source1
141
142* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
143- new upstream release
144
145* Sat Nov 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-2
146- added BuildRequires:  gtkspell-devel
147- updated Source1
148
149* Sat Nov 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-1
150- initial build for VineSeed
151
152* Fri Jul 31 2009 Texstar <texstar@gmail.com> 0.5.3-1pclos2009
153- create
154file:///home/toshi/rpm/SOURCES/keepnote/keepnote-0.7.2/desktop/keepnote.desktop
Note: See TracBrowser for help on using the repository browser.