]> git.pld-linux.org Git - packages/contacts.git/blob - contacts.spec
7cbce7d17438e26dba3002a9eab2f8b8e35f60dd
[packages/contacts.git] / contacts.spec
1 #
2 Summary:        Tiny GNOME address book applet
3 Name:           contacts
4 Version:        0.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://pimlico-project.org/sources/contacts/%{name}-%{version}.tar.gz
9 # Source0-md5:  d2150fe286ee6e0518af37f3107cb867
10 URL:            http://pimlico-project.org/contacts.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  evolution-data-server-devel
14 BuildRequires:  gtk+2-devel >= 2:2.10.7
15 #BuildRequires: libglade2-devel >= 1:2.6.0
16 BuildRequires:  libtool
17 BuildRequires:  libxml2-devel >= 1:2.6.27
18 Requires(post,postun):  hicolor-icon-theme
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Contacts is a small, lightweight addressbook that uses libebook, part
23 of EDS. This is the same library that GNOME Evolution uses, so all
24 contact data that exists in your Evolution addressbook is accessible
25 via Contacts. Contacts features advanced vCard field type handling and
26 is designed for use on hand-held devices, such as the Nokia 770 or the
27 Sharp Zaurus series of PDAs.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__glib_gettextize}
34 %{__libtoolize}
35 %{__intltoolize}
36 %{__aclocal}
37 %{__autoheader}
38 %{__automake}
39 %{__autoconf}
40 %configure \
41         --disable-schemas-install \
42         --disable-scrollkeeper
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
51
52 %find_lang %{name} --with-gnome --all-name
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %update_icon_cache hicolor
59 %gconf_schema_install contacts.schemas
60 %scrollkeeper_update_post
61
62 %preun
63 %gconf_schema_uninstall contacts.schemas
64
65 %postun
66 %scrollkeeper_update_postun
67 %update_icon_cache hicolor
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_bindir}/*
73 %{_sysconfdir}/gconf/schemas/contacts.schemas
74 %{_desktopdir}/contacts.desktop
75 %{_iconsdir}/hicolor/48x48/apps/contacts.png
76 %{_mandir}/man1/contacts.1*
This page took 0.104355 seconds and 2 git commands to generate.