]>
Commit | Line | Data |
---|---|---|
a05d87fa | 1 | Summary: Tiny GNOME datebook application |
48e4e614 | 2 | Summary(pl.UTF-8): Mała aplikacja kalendarza dla GNOME |
0433ac1c | 3 | Name: dates |
72216cbe | 4 | Version: 0.4.4 |
0433ac1c | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Communications | |
8 | Source0: http://pimlico-project.org/sources/dates/%{name}-%{version}.tar.gz | |
72216cbe | 9 | # Source0-md5: 224d3caef549988447f3bc70123a0755 |
0433ac1c | 10 | URL: http://pimlico-project.org/dates.html |
89489822 JB |
11 | BuildRequires: GConf2-devel >= 2.0 |
12 | BuildRequires: autoconf >= 2.53 | |
0433ac1c | 13 | BuildRequires: automake |
89489822 | 14 | BuildRequires: evolution-data-server-devel >= 1.2 |
0433ac1c | 15 | BuildRequires: gtk+2-devel >= 2:2.10.7 |
89489822 | 16 | BuildRequires: intltool >= 0.35.0 |
0433ac1c | 17 | BuildRequires: libtool |
18 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
89489822 | 19 | BuildRequires: pkgconfig |
0433ac1c | 20 | Requires(post,postun): hicolor-icon-theme |
48e4e614 | 21 | Requires(post,postun): scrollkeeper |
72216cbe PZ |
22 | Obsoletes: dates-devel <= 0.4.3 |
23 | Obsoletes: dates-static <= 0.4.3 | |
0433ac1c | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | Dates is a small, lightweight calendar, featuring an innovative, | |
28 | unified, zooming view and is designed primarily for use on hand-held | |
29 | devices. It is available in several flavours; a vanilla GTK+ user | |
30 | interface, a version for the Nokia 770/N800 Maemo platform and a | |
31 | version for OpenMoko devices. | |
32 | ||
48e4e614 JB |
33 | %description -l pl.UTF-8 |
34 | Dates to mały, lekki kalendarz cechujący się innowacyjnym, | |
35 | ujednoliconym, powiększanym widokiem; jest zaprojektowany głównie do | |
36 | używania na urządzeniach przenośnych. Jest dostępny w kilku odmianach; | |
37 | z czystym interfejsen GTK+, w wersji dla platformy Nokia 770/N800 | |
38 | Maemo oraz dla urządzeń OpenMoko. | |
39 | ||
0433ac1c | 40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__glib_gettextize} | |
45 | %{__libtoolize} | |
46 | %{__intltoolize} | |
47 | %{__aclocal} | |
48 | %{__autoheader} | |
49 | %{__automake} | |
50 | %{__autoconf} | |
51 | %configure \ | |
52 | --disable-schemas-install \ | |
53 | --disable-scrollkeeper | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT \ | |
61 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
62 | ||
63 | %find_lang %{name} --with-gnome --all-name | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
0433ac1c | 69 | %scrollkeeper_update_post |
70 | %update_icon_cache hicolor | |
71 | ||
0433ac1c | 72 | %postun |
73 | %scrollkeeper_update_postun | |
0433ac1c | 74 | %update_icon_cache hicolor |
75 | ||
76 | %files -f %{name}.lang | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS ChangeLog NEWS README | |
79 | %attr(755,root,root) %{_bindir}/* | |
0433ac1c | 80 | %dir %{_datadir}/dates |
81 | %{_datadir}/dates/oh-about-logo.png | |
48e4e614 | 82 | %{_desktopdir}/dates.desktop |
0433ac1c | 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 | |
48e4e614 | 87 | %{_iconsdir}/hicolor/48x48/apps/dates.png |
0433ac1c | 88 | %{_iconsdir}/hicolor/scalable/apps/dates.svg |
89 | %{_mandir}/man1/dates.1* |