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

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