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

Revision 5176, 4.5 KB checked in by kudoh, 13 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.6
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* Wed Nov 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.6-1
93- new upstream release
94- added patch2 to fix desktop file
95
96* Mon Sep 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.5-1
97- new upstream release
98
99* Thu Jul 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.4-1
100- new upstream release
101
102* Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
103- new upstream release
104- dropt source1
105  - merged upstream
106
107* Tue Jan 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.8-1
108- new upstream release
109
110* Tue Dec 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.7-1
111- new upstream release
112- re-added source1
113- fixed .desktop file a little
114- used python macro
115
116* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.5-1
117- new upstream release
118- added BuildRequires:  gettext, intltool
119
120* Sun Aug 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.4-1
121- new upstream release
122
123* Wed Jul 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.3-1
124- new upstream release
125- dropt source1
126  - merged upstream
127
128* Thu May 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-2
129- updated Source1
130- fixed desktop-file-install --add-category section
131
132* Tue Feb 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.2-1
133- new upstream release
134- updated Source1 and Patch1
135
136* Sat Feb 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-2
137- updated Source1
138
139* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
140- new upstream release
141
142* Sat Nov 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-2
143- added BuildRequires:  gtkspell-devel
144- updated Source1
145
146* Sat Nov 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6-1
147- initial build for VineSeed
148
149* Fri Jul 31 2009 Texstar <texstar@gmail.com> 0.5.3-1pclos2009
150- create
151file:///home/toshi/rpm/SOURCES/keepnote/keepnote-0.7.2/desktop/keepnote.desktop
Note: See TracBrowser for help on using the repository browser.