]>
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 |
46380db4 | 4 | Version: 0.12 |
6a9c2a63 | 5 | Release: 9 |
1257869e | 6 | License: GPL |
7 | Group: Applications/Communications | |
46380db4 PZ |
8 | Source0: http://download.gnome.org/sources/contacts/0.12/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 0bb01fc7479a497550ea5f2e0035b9d8 | |
47d9b09c | 10 | Patch0: makefile.patch |
1257869e | 11 | URL: http://pimlico-project.org/contacts.html |
8fa448bf | 12 | BuildRequires: autoconf >= 2.53 |
1257869e | 13 | BuildRequires: automake |
8fa448bf | 14 | BuildRequires: evolution-data-server-devel >= 1.2 |
f0ad1900 | 15 | BuildRequires: gettext-tools |
7e18285b | 16 | BuildRequires: gnome-vfs2-devel |
1257869e | 17 | BuildRequires: gtk+2-devel >= 2:2.10.7 |
8fa448bf | 18 | BuildRequires: intltool >= 0.35.0 |
1257869e | 19 | BuildRequires: libtool |
20 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
8fa448bf | 21 | BuildRequires: pkgconfig |
51369c6a | 22 | BuildRequires: rpmbuild(macros) >= 1.198 |
3faa8c3e | 23 | Requires(post,postun): gtk-update-icon-cache |
abaa1768 | 24 | Requires(post,postun): hicolor-icon-theme |
3faa8c3e | 25 | Requires(post,preun): GConf2 |
1257869e | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | Contacts is a small, lightweight addressbook that uses libebook, part | |
30 | of EDS. This is the same library that GNOME Evolution uses, so all | |
31 | contact data that exists in your Evolution addressbook is accessible | |
32 | via Contacts. Contacts features advanced vCard field type handling and | |
33 | is designed for use on hand-held devices, such as the Nokia 770 or the | |
34 | Sharp Zaurus series of PDAs. | |
35 | ||
51369c6a JB |
36 | %description -l pl.UTF-8 |
37 | Contacts to mała, lekka książka adresowa wykorzystująca libebook - | |
38 | część EDS. Jest to ta sama biblioteka, której używa GNOME Evolution, | |
39 | więc wszystkie dane kontaktowe istniejące w książce adresowej | |
40 | Evolution są dostępne poprzez Contacts. Contacts ma obsługę | |
41 | zaawansowanych typów pól vCard, jest zaprojektowany do używania na | |
42 | urządzeniach przenośnych, takich jak Nokia 770 albo PDA z serii Sharp | |
43 | Zaurus. | |
44 | ||
1257869e | 45 | %prep |
46 | %setup -q | |
47d9b09c | 47 | %patch0 -p1 |
1257869e | 48 | |
49 | %build | |
50 | %{__glib_gettextize} | |
51 | %{__libtoolize} | |
52 | %{__intltoolize} | |
53 | %{__aclocal} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %{__autoconf} | |
57 | %configure \ | |
46380db4 | 58 | --disable-schemas-install |
1257869e | 59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT \ | |
66 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
67 | ||
68 | %find_lang %{name} --with-gnome --all-name | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
abaa1768 | 74 | %update_icon_cache hicolor |
1257869e | 75 | %gconf_schema_install contacts.schemas |
76 | %scrollkeeper_update_post | |
77 | ||
78 | %preun | |
79 | %gconf_schema_uninstall contacts.schemas | |
80 | ||
81 | %postun | |
82 | %scrollkeeper_update_postun | |
abaa1768 | 83 | %update_icon_cache hicolor |
1257869e | 84 | |
85 | %files -f %{name}.lang | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS ChangeLog NEWS README | |
88 | %attr(755,root,root) %{_bindir}/* | |
89 | %{_sysconfdir}/gconf/schemas/contacts.schemas | |
90 | %{_desktopdir}/contacts.desktop | |
36efcb6d PZ |
91 | %{_iconsdir}/hicolor/16x16/apps/contacts.png |
92 | %{_iconsdir}/hicolor/22x22/apps/contacts.png | |
93 | %{_iconsdir}/hicolor/24x24/apps/contacts.png | |
94 | %{_iconsdir}/hicolor/32x32/apps/contacts.png | |
95 | %{_iconsdir}/hicolor/48x48/apps/contacts.png | |
586fa878 | 96 | %{_iconsdir}/hicolor/scalable/apps/contacts.svg |
1257869e | 97 | %{_mandir}/man1/contacts.1* |