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

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