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