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