]> git.pld-linux.org Git - packages/dates.git/blob - dates.spec
d38a09fe976fff3b98f4205b0890315d17e17cea
[packages/dates.git] / dates.spec
1 Summary:        Tiny GNOME datebook application
2 Summary(pl.UTF-8):      Mała aplikacja kalendarza dla GNOME
3 Name:           dates
4 Version:        0.4.11
5 Release:        6
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/dates/0.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  aa4a10ab181d8a6003098425c2d88ab4
10 Patch0:         %{name}-link.patch
11 Patch1:         makefile.patch
12 URL:            http://pimlico-project.org/dates.html
13 BuildRequires:  GConf2-devel >= 2.0
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  evolution-data-server-devel >= 1.2
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 2:2.10.7
19 BuildRequires:  intltool >= 0.35.0
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel >= 1:2.6.27
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.311
24 Requires(post,postun):  gtk-update-icon-cache
25 Requires(post,postun):  hicolor-icon-theme
26 Obsoletes:      dates-devel <= 0.4.3
27 Obsoletes:      dates-static <= 0.4.3
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
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
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 %{__glib_gettextize}
51 %{__libtoolize}
52 %{__intltoolize}
53 %{__aclocal}
54 %{__autoheader}
55 %{__automake}
56 %{__autoconf}
57 %configure
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %find_lang Dates
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_icon_cache hicolor
73
74 %postun
75 %update_icon_cache hicolor
76
77 %files -f Dates.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README
80 %attr(755,root,root) %{_bindir}/*
81 %dir %{_datadir}/dates
82 %{_datadir}/dates/oh-about-logo.png
83 %{_desktopdir}/dates.desktop
84 %{_iconsdir}/hicolor/16x16/apps/dates.png
85 %{_iconsdir}/hicolor/22x22/apps/dates.png
86 %{_iconsdir}/hicolor/24x24/apps/dates.png
87 #%{_iconsdir}/hicolor/26x26/apps/dates.png
88 %{_iconsdir}/hicolor/32x32/apps/dates.png
89 %{_iconsdir}/hicolor/48x48/apps/dates.png
90 %{_iconsdir}/hicolor/64x64/apps/dates.png
91 %{_iconsdir}/hicolor/scalable/apps/dates.svg
92 %{_mandir}/man1/dates.1*
This page took 0.03995 seconds and 2 git commands to generate.