source: projects/specs/trunk/g/gnote/gnote-vl.spec @ 7046

Revision 7046, 2.9 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Summary:        A note taking application
2Summary(ja):    ノートテーカー(メモ)アプリケーション
3Name:           gnote
4Version:        3.6.1
5Release:        1%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Deskops
8URL:            https://live.gnome.org/Gnote
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz
11
12Patch0: gnote-3.6.0-gnome_keyring.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  libxml2-devel
17BuildRequires:  libxslt-devel
18BuildRequires:  libuuid-devel
19BuildRequires:  glibmm-devel >= 2.28
20BuildRequires:  gtkmm3-devel >= 3.4
21BuildRequires:  gtkspell-devel >= 2.0.9
22BuildRequires:  libsecret-devel >= 0.8
23BuildRequires:  libboost-devel >= 1.34
24BuildRequires:  libboost-test
25BuildRequires:  itstool
26
27Requires(postun,posttrans):     desktop-file-utils
28Requires(postun,posttrans):     glib2
29
30Vendor:         Project Vine
31Distribution:   Vine Linux
32Packager:       Takemikaduchi
33
34
35%description
36Gnote is a port of Tomboy to C++.
37
38It is the same note taking application, including most of the add-ins (more are to come).
39Synchronization support is being worked on.
40
41
42%prep
43%setup -q
44%patch0 -p1 -b .orig
45
46%build
47%configure --disable-static
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install DESTDIR=$RPM_BUILD_ROOT
52
53find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
54rm -f $RPM_BUILD_ROOT%{_libdir}/libgnote.so
55
56%find_lang %{name} --all-name --with-gnome
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post
62/sbin/ldconfig
63touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
64  touch --no-create %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
65
66%postun
67/sbin/ldconfig
68if [ $1 -eq 0 ]; then
69  touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
70  touch --no-create %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
71  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
72  gtk-update-icon-cache %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
73  update-desktop-database -q &> /dev/null ||:
74  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
75fi
76
77%posttrans
78gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
79gtk-update-icon-cache %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
80update-desktop-database -q &> /dev/null ||:
81glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
82
83
84%files -f %{name}.lang
85%defattr(-,root,root,-)
86%doc COPYING README NEWS
87%{_bindir}/%{name}
88%{_libdir}/libgnote-3.6.so.*
89%{_libdir}/%{name}
90%{_datadir}/applications/%{name}.desktop
91%{_datadir}/dbus-1/services/org.gnome.Gnote.service
92%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
93%{_datadir}/%{name}/UIManagerLayout.xml
94%{_datadir}/%{name}/exporttohtml.xsl
95%{_datadir}/%{name}/gnote-introspect.xml
96%{_datadir}/%{name}/icons/hicolor/*/*/*
97%{_datadir}/icons/hicolor/*/*/*
98%{_mandir}/man1/gnote.1.gz
99
100
101
102%changelog
103* Mon Oct 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
104- new upstream release
105
106* Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
107- initial build
Note: See TracBrowser for help on using the repository browser.