source: projects/specs/trunk/t/tasque/tasque-vl.spec @ 9521

Revision 9521, 5.5 KB checked in by inagaki, 9 years ago (diff)

2015-04-19 Ryoichi INAGAKI <ryo1@…>

  • gnome-do, gnome-do-plugins, mod_mono, tasque: updated
  • gtksourceview-sharp2: added devel


Line 
1Name:           tasque
2Version:        0.1.12
3Release:        1%{?_dist_release}
4Summary:        A simple task management app
5Summary(ja):    シンプルなタスク管理アプリケーション
6
7Group:          Applications/Productivity
8License:        MIT
9URL:            http://live.gnome.org/Tasque
10Source0:        http://ftp.gnome.org/pub/GNOME/sources/tasque/0.1/%{name}-%{version}.tar.xz
11
12# Vine Patches
13Patch70:        tasque-0.1.12-dbussharp2.patch
14Patch71:        tasque-0.1.12-smaller-font.patch
15
16BuildArch:      noarch
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
18BuildRequires:  dbus-sharp-devel dbus-sharp-glib-devel
19BuildRequires:  desktop-file-utils
20BuildRequires:  gettext-devel intltool pkgconfig
21BuildRequires:  gnome-sharp2-devel
22BuildRequires:  gtk-sharp2-devel
23BuildRequires:  mono-core mono-data-sqlite mono-devel
24BuildRequires:  notify-sharp-devel
25# to avoid autoreconf error...
26BuildRequires:  glib2-devel
27
28Requires(post): desktop-file-utils
29Requires(postun): desktop-file-utils
30Requires:       mono-core gnome-sharp2 gtk-sharp2 mono-data-sqlite
31Requires:       notify-sharp
32
33Vendor:         Project Vine
34Distribution:   Vine Linux
35Packager:       kazutaka
36
37%description
38Tasque is a simple task management app (TODO list) for the Linux Desktop.
39
40%description -l ja
41Tasque は Linux デスクトップ向けのシンプルなタスク管理 (TODO リスト) アプリケーションです。
42
43%package    devel
44Summary:    Development files for tasque
45Summary(ja): tasque の開発用ファイル
46Group: Documentation
47Requires: %{name} = %{version}-%{release} pkgconfig
48
49%description devel
50Development files for tasque
51
52%description devel -l ja
53tasque の開発用ファイルです。
54
55
56%prep
57%setup -q
58%patch70 -p1 -b .dbussharp2
59%patch71 -p1 -b .smaller-font
60sed -i.nosuse -e 's|X-SuSE-Core-Office;||' data/tasque.desktop.in
61
62%build
63autoreconf -f -i
64%configure --disable-appindicator
65make %{?_smp_mflags}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
70
71mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
72mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig
73
74desktop-file-install --delete-original --vendor="" \
75       --dir=%{buildroot}%{_datadir}/applications \
76       ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
77
78%find_lang %{name}
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post
84touch --no-create %{_datadir}/icons/hicolor
85update-desktop-database %{_datadir}/applications &> /dev/null || :
86
87%postun
88if [ $1 -eq 0 ] ; then
89    touch --no-create %{_datadir}/icons/hicolor
90    %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
91fi
92update-desktop-database %{_datadir}/applications &> /dev/null || :
93
94%posttrans
95gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
96
97
98%files -f %{name}.lang
99%defattr(-,root,root,-)
100%doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README TODO
101%{_bindir}/%{name}
102%{_prefix}/lib/%{name}
103%{_datadir}/%{name}
104%{_datadir}/applications/*.desktop
105%{_datadir}/dbus-1/services/org.gnome.Tasque.service
106%{_datadir}/icons/hicolor/*/apps/*
107%{_datadir}/pixmaps/*
108
109%files devel
110%defattr (-,root,root,-)
111%{_datadir}/pkgconfig/%{name}.pc
112
113%changelog
114* Sun Apr 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.12-1
115- updated to 0.1.12
116- dropt Source1 (upsteream is newer)
117- added Patch70 to build with dbus-sharp 0.8 series
118- updated Patch1 and renumberd as Patch71
119- added BR: dbus-sharp-devel and dbus-sharp-glib-devel instead of ndesk-dbus and ndesk-dbus-glib respectively
120
121* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.9-2
122- rebuilt with rpm-4.8.1 for pkg-config
123
124* Sat Mar 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.1.9-1
125- new upstream release
126- drop Patch0 & Patch2
127- update Patch1
128- add configure option --disable-standard-backends
129- add Source1 for updated japanese translation
130
131* Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-2
132- rebuild with latest rpm to update mono-dependencies
133
134* Wed Jun 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.1.8-1
135- initial build for Vine Linux based of fedora development
136- add Patch1&2 to slightly change apperance and translation
137
138* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
140
141* Mon Dec 29 2008 David Kaylor<dkaylor@gmail.com> - 0.1.8-1
142- Update to version 0.1.8
143- libdir bug is partially fixed.  Create a patch for the remaining files.
144
145* Mon Dec 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-5
146- Add mono-data-sqlite dep for sqlite backend
147
148* Mon Dec 22 2008 Maxime Carron <mxcarron@fedoraproject.org> - 0.1.7-4
149- Enable sqlite backend for standalone mode
150
151* Tue Oct 22 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-3
152- Add NEWS and TODO doc files
153- Add notify-sharp deps for Fedora 10+
154
155* Tue Oct 20 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-2
156- Put link to upstream bug in patch file
157
158* Tue Sep 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.7-1
159- Update to 0.1.7
160
161* Mon Jul 30 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-4
162- Properly install .desktop file
163
164* Mon Jul 16 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-3
165- Remove "X-SuSE-Core-Office" from groups in desktop file
166- Add ndesk-dbus-glib dependency
167
168* Mon Jul 14 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-2
169- Replace hardcoded /usr/lib paths with libdir
170- Add gtk2-sharp to Requires
171- Add docs files
172- Stop generating debug package
173
174* Wed Jul  3 2008 David Kaylor<dkaylor@gmail.com> - 0.1.6-1
175- Update to 0.1.6
176- Incorporate suggested improvements from https://bugzilla.redhat.com/show_bug.cgi?id=449869
177
178* Wed Jun  2 2008 David Kaylor<dkaylor@gmail.com> - 0.1.5-1
179- Initial package
180
Note: See TracBrowser for help on using the repository browser.