]>
Commit | Line | Data |
---|---|---|
0433ac1c | 1 | # |
2 | # TODO: | |
3 | # - dates-devel and dates-static | |
4 | # | |
5 | Summary: tiny GNOME datebook app | |
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 | |
61 | #%gconf_schema_install dates.schemas | |
62 | %scrollkeeper_update_post | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %preun | |
66 | #%gconf_schema_uninstall dates.schemas | |
67 | ||
68 | %postun | |
69 | %scrollkeeper_update_postun | |
70 | /sbin/ldconfig | |
71 | %update_icon_cache hicolor | |
72 | ||
73 | %files -f %{name}.lang | |
74 | %defattr(644,root,root,755) | |
75 | %doc AUTHORS ChangeLog NEWS README | |
76 | %attr(755,root,root) %{_bindir}/* | |
77 | %attr(755,root,root) %{_libdir}/libgtkdatesview.so.0.0.0 | |
78 | #%{_sysconfdir}/gconf/schemas/dates.schemas | |
79 | %{_desktopdir}/dates.desktop | |
80 | %{_iconsdir}/hicolor/48x48/apps/dates.png | |
81 | %dir %{_datadir}/dates | |
82 | %{_datadir}/dates/oh-about-logo.png | |
83 | %{_iconsdir}/hicolor/16x16/apps/dates.png | |
84 | %{_iconsdir}/hicolor/22x22/apps/dates.png | |
85 | %{_iconsdir}/hicolor/24x24/apps/dates.png | |
86 | %{_iconsdir}/hicolor/32x32/apps/dates.png | |
87 | %{_iconsdir}/hicolor/scalable/apps/dates.svg | |
88 | %{_mandir}/man1/dates.1* | |
89 | ||
90 | %if 0 | |
91 | %{_includedir}/gtkdatesview/dates_view.h | |
92 | %{_libdir}/libgtkdatesview.a | |
93 | %{_libdir}/libgtkdatesview.la | |
94 | %{_pkgconfigdir}/libgtkdatesview.pc | |
95 | %endif |