]> git.pld-linux.org Git - packages/dates.git/blob - dates.spec
c3d39a224cd97045a3cece76fc64626599b2b87a
[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.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://pimlico-project.org/sources/dates/%{name}-%{version}.tar.gz
9 # Source0-md5:  224d3caef549988447f3bc70123a0755
10 URL:            http://pimlico-project.org/dates.html
11 BuildRequires:  GConf2-devel >= 2.0
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake
14 BuildRequires:  evolution-data-server-devel >= 1.2
15 BuildRequires:  gtk+2-devel >= 2:2.10.7
16 BuildRequires:  intltool >= 0.35.0
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel >= 1:2.6.27
19 BuildRequires:  pkgconfig
20 Requires(post,postun):  hicolor-icon-theme
21 Requires(post,postun):  scrollkeeper
22 Obsoletes:      dates-devel <= 0.4.3
23 Obsoletes:      dates-static <= 0.4.3
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
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
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
69 %scrollkeeper_update_post
70 %update_icon_cache hicolor
71
72 %postun
73 %scrollkeeper_update_postun
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}/*
80 %dir %{_datadir}/dates
81 %{_datadir}/dates/oh-about-logo.png
82 %{_desktopdir}/dates.desktop
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
87 %{_iconsdir}/hicolor/48x48/apps/dates.png
88 %{_iconsdir}/hicolor/scalable/apps/dates.svg
89 %{_mandir}/man1/dates.1*
This page took 0.081884 seconds and 2 git commands to generate.