]>
Commit | Line | Data |
---|---|---|
e822d6d5 | 1 | Summary: SynCE tray icon for GNOME 2 |
0f3f23fa | 2 | Summary(pl.UTF-8): SynCE jako ikona tacki dla środowiska GNOME 2 |
6a3189bd | 3 | Name: synce-trayicon |
dac849ac | 4 | Version: 0.15.1 |
7e9cc35f | 5 | Release: 3 |
041db605 | 6 | License: MIT+LGPL |
7a6cbd23 | 7 | Group: Applications/Communications |
3ecedf3d | 8 | Source0: http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz |
dac849ac | 9 | # Source0-md5: b6ab20a0a4814817b486585b6b63130e |
8535e10b | 10 | Patch0: %{name}-libnotify.patch |
dac849ac | 11 | Patch1: %{name}-backends.patch |
c60ac788 | 12 | URL: http://www.synce.org/ |
05b30a8b | 13 | BuildRequires: autoconf |
041db605 | 14 | BuildRequires: automake |
801fab85 | 15 | BuildRequires: gettext-tools |
abe05d4b | 16 | BuildRequires: intltool |
041db605 | 17 | BuildRequires: libgnomeui-devel >= 2.0.0 |
6a3189bd | 18 | BuildRequires: libgtop-devel >= 1:2.0.0 |
8535e10b | 19 | BuildRequires: libnotify-devel >= 0.7 |
05b30a8b | 20 | BuildRequires: libtool |
131f7d34 | 21 | BuildRequires: perl-XML-Parser |
041db605 | 22 | BuildRequires: pkgconfig |
ee640d22 ER |
23 | BuildRequires: rpmbuild(macros) >= 1.559 |
24 | BuildRequires: synce-librapi2-devel >= 0.15 | |
3ecedf3d | 25 | BuildRequires: synce-orange-libs-devel >= 0.4-3 |
05773eaf | 26 | BuildRequires: synce-rra-devel >= 0.14 |
ee640d22 ER |
27 | %requires_ge_to synce-librapi2 synce-librapi2-devel |
28 | %requires_ge_to synce-rra synce-rra-devel | |
abe05d4b | 29 | Requires: synce-connector |
6a3189bd | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
3ecedf3d | 33 | synce-trayicon is part of the SynCE project: <http://www.synce.org/>. |
6a3189bd | 34 | |
35 | This application shows when a device is connected. | |
36 | ||
1052d89d | 37 | %description -l pl.UTF-8 |
3ecedf3d | 38 | synce-trayicon to część projektu SynCE: <http://www.synce.org/>. |
7a6cbd23 | 39 | |
1052d89d | 40 | Ta aplikacja pokazuje, kiedy urządzenie jest podłączone. |
7a6cbd23 | 41 | |
6a3189bd | 42 | %prep |
3425742a | 43 | %setup -q |
8535e10b | 44 | %patch0 -p1 |
c6b17f33 | 45 | %patch1 -p2 |
6a3189bd | 46 | |
47 | %build | |
3425742a | 48 | %{__libtoolize} |
05773eaf | 49 | %{__aclocal} -I m4 |
3425742a MWP |
50 | %{__autoconf} |
51 | %{__autoheader} | |
52 | %{__automake} | |
53 | %configure \ | |
dac849ac JR |
54 | --disable-schemas-install \ |
55 | --enable-vdccm-support \ | |
56 | --enable-odccm-support \ | |
57 | --disable-hal-support \ | |
58 | --enable-udev-support | |
59 | ||
6a3189bd | 60 | %{__make} |
61 | ||
62 | %install | |
7a6cbd23 JB |
63 | rm -rf $RPM_BUILD_ROOT |
64 | ||
6a3189bd | 65 | %{__make} install \ |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %find_lang %{name} --with-gnome | |
69 | ||
05b30a8b JB |
70 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.la |
71 | ||
3ecedf3d ER |
72 | install -d $RPM_BUILD_ROOT/etc/xdg/autostart |
73 | mv $RPM_BUILD_ROOT{%{_datadir}/gnome/autostart,/etc/xdg/autostart}/%{name}-autostart.desktop | |
74 | ||
05b30a8b JB |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
3425742a MWP |
78 | %post |
79 | %gconf_schema_install %{name}.schemas | |
80 | %scrollkeeper_update_post | |
81 | %update_desktop_database_post | |
82 | ||
83 | %postun | |
84 | %scrollkeeper_update_postun | |
85 | ||
86 | %preun | |
87 | %gconf_schema_uninstall %{name}.schemas | |
88 | ||
6a3189bd | 89 | %files -f %{name}.lang |
90 | %defattr(644,root,root,755) | |
05773eaf | 91 | %doc AUTHORS ChangeLog README |
6a3189bd | 92 | %attr(755,root,root) %{_bindir}/* |
041db605 | 93 | %dir %{_datadir}/synce |
6a3189bd | 94 | %{_datadir}/synce/*.glade |
3425742a MWP |
95 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
96 | %dir %{_libdir}/%{name} | |
c73986a2 | 97 | %dir %{_libdir}/%{name}/modules |
3425742a MWP |
98 | %attr(755,root,root) %{_libdir}/%{name}/modules/*.so |
99 | %{_iconsdir}/hicolor/*/apps/synce-*.png | |
05b30a8b | 100 | %{_mandir}/man1/%{name}.1* |
05773eaf | 101 | %{_desktopdir}/%{name}.desktop |
3ecedf3d | 102 | /etc/xdg/autostart/%{name}-autostart.desktop |