]>
Commit | Line | Data |
---|---|---|
0433ac1c | 1 | # |
2 | # TODO: | |
3 | # - dates-devel and dates-static | |
4 | # | |
a05d87fa | 5 | Summary: Tiny GNOME datebook application |
0433ac1c | 6 | Name: dates |
7 | Version: 0.4.2 | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: Applications/Communications | |
11 | Source0: http://pimlico-project.org/sources/dates/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: b3e5e32462a2f52f42ec3daea1a55ebd | |
13 | URL: http://pimlico-project.org/dates.html | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: evolution-data-server-devel | |
17 | BuildRequires: gtk+2-devel >= 2:2.10.7 | |
18 | #BuildRequires: libglade2-devel >= 1:2.6.0 | |
19 | BuildRequires: libtool | |
20 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
21 | Requires(post,postun): hicolor-icon-theme | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Dates is a small, lightweight calendar, featuring an innovative, | |
26 | unified, zooming view and is designed primarily for use on hand-held | |
27 | devices. It is available in several flavours; a vanilla GTK+ user | |
28 | interface, a version for the Nokia 770/N800 Maemo platform and a | |
29 | version for OpenMoko devices. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | %{__glib_gettextize} | |
36 | %{__libtoolize} | |
37 | %{__intltoolize} | |
38 | %{__aclocal} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %{__autoconf} | |
42 | %configure \ | |
43 | --disable-schemas-install \ | |
44 | --disable-scrollkeeper | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT \ | |
52 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
53 | ||
54 | %find_lang %{name} --with-gnome --all-name | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post | |
60 | /sbin/ldconfig | |
0433ac1c | 61 | %scrollkeeper_update_post |
62 | %update_icon_cache hicolor | |
63 | ||
0433ac1c | 64 | %postun |
65 | %scrollkeeper_update_postun | |
66 | /sbin/ldconfig | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS ChangeLog NEWS README | |
72 | %attr(755,root,root) %{_bindir}/* | |
73 | %attr(755,root,root) %{_libdir}/libgtkdatesview.so.0.0.0 | |
0433ac1c | 74 | %{_desktopdir}/dates.desktop |
75 | %{_iconsdir}/hicolor/48x48/apps/dates.png | |
76 | %dir %{_datadir}/dates | |
77 | %{_datadir}/dates/oh-about-logo.png | |
78 | %{_iconsdir}/hicolor/16x16/apps/dates.png | |
79 | %{_iconsdir}/hicolor/22x22/apps/dates.png | |
80 | %{_iconsdir}/hicolor/24x24/apps/dates.png | |
81 | %{_iconsdir}/hicolor/32x32/apps/dates.png | |
82 | %{_iconsdir}/hicolor/scalable/apps/dates.svg | |
83 | %{_mandir}/man1/dates.1* | |
84 | ||
85 | %if 0 | |
86 | %{_includedir}/gtkdatesview/dates_view.h | |
87 | %{_libdir}/libgtkdatesview.a | |
88 | %{_libdir}/libgtkdatesview.la | |
89 | %{_pkgconfigdir}/libgtkdatesview.pc | |
90 | %endif |