1 Summary: SynCE tray icon for GNOME 2
2 Summary(pl.UTF-8): SynCE jako ikona tacki dla środowiska GNOME 2
7 Group: Applications/Communications
8 Source0: http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
9 # Source0-md5: b6ab20a0a4814817b486585b6b63130e
10 Patch0: %{name}-libnotify.patch
11 Patch1: %{name}-backends.patch
12 URL: http://www.synce.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gettext-tools
16 BuildRequires: intltool
17 BuildRequires: libgnomeui-devel >= 2.0.0
18 BuildRequires: libgtop-devel >= 1:2.0.0
19 BuildRequires: libnotify-devel >= 0.7
20 BuildRequires: libtool
21 BuildRequires: perl-XML-Parser
22 BuildRequires: pkgconfig
23 BuildRequires: rpmbuild(macros) >= 1.559
24 BuildRequires: synce-librapi2-devel >= 0.15
25 BuildRequires: synce-orange-libs-devel >= 0.4-3
26 BuildRequires: synce-rra-devel >= 0.14
27 %requires_ge_to synce-librapi2 synce-librapi2-devel
28 %requires_ge_to synce-rra synce-rra-devel
29 Requires: synce-connector
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 synce-trayicon is part of the SynCE project: <http://www.synce.org/>.
35 This application shows when a device is connected.
37 %description -l pl.UTF-8
38 synce-trayicon to część projektu SynCE: <http://www.synce.org/>.
40 Ta aplikacja pokazuje, kiedy urządzenie jest podłączone.
54 --disable-schemas-install \
55 --enable-vdccm-support \
56 --enable-odccm-support \
57 --disable-hal-support \
63 rm -rf $RPM_BUILD_ROOT
66 DESTDIR=$RPM_BUILD_ROOT
68 %find_lang %{name} --with-gnome
70 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.la
72 install -d $RPM_BUILD_ROOT/etc/xdg/autostart
73 mv $RPM_BUILD_ROOT{%{_datadir}/gnome/autostart,/etc/xdg/autostart}/%{name}-autostart.desktop
76 rm -rf $RPM_BUILD_ROOT
79 %gconf_schema_install %{name}.schemas
80 %scrollkeeper_update_post
81 %update_desktop_database_post
84 %scrollkeeper_update_postun
87 %gconf_schema_uninstall %{name}.schemas
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog README
92 %attr(755,root,root) %{_bindir}/*
93 %dir %{_datadir}/synce
94 %{_datadir}/synce/*.glade
95 %{_sysconfdir}/gconf/schemas/%{name}.schemas
96 %dir %{_libdir}/%{name}
97 %dir %{_libdir}/%{name}/modules
98 %attr(755,root,root) %{_libdir}/%{name}/modules/*.so
99 %{_iconsdir}/hicolor/*/apps/synce-*.png
100 %{_mandir}/man1/%{name}.1*
101 %{_desktopdir}/%{name}.desktop
102 /etc/xdg/autostart/%{name}-autostart.desktop