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