]>
Commit | Line | Data |
---|---|---|
f8e85f9d | 1 | Summary: Tiny GNOME address book applet |
51369c6a | 2 | Summary(pl.UTF-8): Mały aplet książki adresowej dla GNOME |
1257869e | 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 | |
51369c6a JB |
18 | BuildRequires: rpmbuild(macros) >= 1.198 |
19 | Requires(post,preun): GConf2 | |
abaa1768 | 20 | Requires(post,postun): hicolor-icon-theme |
51369c6a | 21 | Requires(post,postun): scrollkeeper |
1257869e | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | Contacts is a small, lightweight addressbook that uses libebook, part | |
26 | of EDS. This is the same library that GNOME Evolution uses, so all | |
27 | contact data that exists in your Evolution addressbook is accessible | |
28 | via Contacts. Contacts features advanced vCard field type handling and | |
29 | is designed for use on hand-held devices, such as the Nokia 770 or the | |
30 | Sharp Zaurus series of PDAs. | |
31 | ||
51369c6a JB |
32 | %description -l pl.UTF-8 |
33 | Contacts to mała, lekka książka adresowa wykorzystująca libebook - | |
34 | część EDS. Jest to ta sama biblioteka, której używa GNOME Evolution, | |
35 | więc wszystkie dane kontaktowe istniejące w książce adresowej | |
36 | Evolution są dostępne poprzez Contacts. Contacts ma obsługę | |
37 | zaawansowanych typów pól vCard, jest zaprojektowany do używania na | |
38 | urządzeniach przenośnych, takich jak Nokia 770 albo PDA z serii Sharp | |
39 | Zaurus. | |
40 | ||
1257869e | 41 | %prep |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %{__glib_gettextize} | |
46 | %{__libtoolize} | |
47 | %{__intltoolize} | |
48 | %{__aclocal} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %{__autoconf} | |
52 | %configure \ | |
53 | --disable-schemas-install \ | |
54 | --disable-scrollkeeper | |
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT \ | |
62 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
63 | ||
64 | %find_lang %{name} --with-gnome --all-name | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post | |
abaa1768 | 70 | %update_icon_cache hicolor |
1257869e | 71 | %gconf_schema_install contacts.schemas |
72 | %scrollkeeper_update_post | |
73 | ||
74 | %preun | |
75 | %gconf_schema_uninstall contacts.schemas | |
76 | ||
77 | %postun | |
78 | %scrollkeeper_update_postun | |
abaa1768 | 79 | %update_icon_cache hicolor |
1257869e | 80 | |
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
83 | %doc AUTHORS ChangeLog NEWS README | |
84 | %attr(755,root,root) %{_bindir}/* | |
85 | %{_sysconfdir}/gconf/schemas/contacts.schemas | |
86 | %{_desktopdir}/contacts.desktop | |
87 | %{_iconsdir}/hicolor/48x48/apps/contacts.png | |
88 | %{_mandir}/man1/contacts.1* |