]> git.pld-linux.org Git - packages/dates.git/blob - dates.spec
- added link patch, builds now
[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.10
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/dates/0.4/%{name}-%{version}.tar.gz
9 # Source0-md5:  e9e9abdc326e8a3707dce46d6690727c
10 Patch0:         %{name}-link.patch
11 URL:            http://pimlico-project.org/dates.html
12 BuildRequires:  GConf2-devel >= 2.0
13 BuildRequires:  autoconf >= 2.53
14 BuildRequires:  automake
15 BuildRequires:  evolution-data-server-devel >= 1.2
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2:2.10.7
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libtool
20 BuildRequires:  libxml2-devel >= 1:2.6.27
21 BuildRequires:  pkgconfig
22 Requires(post,postun):  hicolor-icon-theme
23 Requires(post,postun):  scrollkeeper
24 Obsoletes:      dates-devel <= 0.4.3
25 Obsoletes:      dates-static <= 0.4.3
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
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
42 %prep
43 %setup -q
44 %patch0 -p1
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
72 %scrollkeeper_update_post
73 %update_icon_cache hicolor
74
75 %postun
76 %scrollkeeper_update_postun
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}/*
83 %dir %{_datadir}/dates
84 %{_datadir}/dates/oh-about-logo.png
85 %{_desktopdir}/dates.desktop
86 %{_iconsdir}/hicolor/16x16/apps/dates.png
87 %{_iconsdir}/hicolor/22x22/apps/dates.png
88 %{_iconsdir}/hicolor/24x24/apps/dates.png
89 #%{_iconsdir}/hicolor/26x26/apps/dates.png
90 %{_iconsdir}/hicolor/32x32/apps/dates.png
91 %{_iconsdir}/hicolor/48x48/apps/dates.png
92 %{_iconsdir}/hicolor/64x64/apps/dates.png
93 %{_iconsdir}/hicolor/scalable/apps/dates.svg
94 %{_mandir}/man1/dates.1*
This page took 0.46462 seconds and 4 git commands to generate.