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