]>
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 |
05773eaf | 4 | Version: 0.15 |
653ee2e4 | 5 | Release: 4 |
041db605 | 6 | License: MIT+LGPL |
7a6cbd23 | 7 | Group: Applications/Communications |
3ecedf3d | 8 | Source0: http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz |
05773eaf | 9 | # Source0-md5: a37ea06e7ea3470097836c6ab9f6c1c9 |
8535e10b | 10 | Patch0: %{name}-libnotify.patch |
c60ac788 | 11 | URL: http://www.synce.org/ |
05b30a8b | 12 | BuildRequires: autoconf |
041db605 | 13 | BuildRequires: automake |
131f7d34 | 14 | BuildRequires: gettext-devel |
b4e944d2 | 15 | BuildRequires: hal-devel |
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 |
6a3189bd | 45 | |
46 | %build | |
3425742a | 47 | %{__libtoolize} |
05773eaf | 48 | %{__aclocal} -I m4 |
3425742a MWP |
49 | %{__autoconf} |
50 | %{__autoheader} | |
51 | %{__automake} | |
52 | %configure \ | |
53 | --disable-schemas-install | |
6a3189bd | 54 | %{__make} |
55 | ||
56 | %install | |
7a6cbd23 JB |
57 | rm -rf $RPM_BUILD_ROOT |
58 | ||
6a3189bd | 59 | %{__make} install \ |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %find_lang %{name} --with-gnome | |
63 | ||
05b30a8b JB |
64 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.la |
65 | ||
3ecedf3d ER |
66 | install -d $RPM_BUILD_ROOT/etc/xdg/autostart |
67 | mv $RPM_BUILD_ROOT{%{_datadir}/gnome/autostart,/etc/xdg/autostart}/%{name}-autostart.desktop | |
68 | ||
05b30a8b JB |
69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
3425742a MWP |
72 | %post |
73 | %gconf_schema_install %{name}.schemas | |
74 | %scrollkeeper_update_post | |
75 | %update_desktop_database_post | |
76 | ||
77 | %postun | |
78 | %scrollkeeper_update_postun | |
79 | ||
80 | %preun | |
81 | %gconf_schema_uninstall %{name}.schemas | |
82 | ||
6a3189bd | 83 | %files -f %{name}.lang |
84 | %defattr(644,root,root,755) | |
05773eaf | 85 | %doc AUTHORS ChangeLog README |
6a3189bd | 86 | %attr(755,root,root) %{_bindir}/* |
041db605 | 87 | %dir %{_datadir}/synce |
6a3189bd | 88 | %{_datadir}/synce/*.glade |
3425742a MWP |
89 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
90 | %dir %{_libdir}/%{name} | |
c73986a2 | 91 | %dir %{_libdir}/%{name}/modules |
3425742a MWP |
92 | %attr(755,root,root) %{_libdir}/%{name}/modules/*.so |
93 | %{_iconsdir}/hicolor/*/apps/synce-*.png | |
05b30a8b | 94 | %{_mandir}/man1/%{name}.1* |
05773eaf | 95 | %{_desktopdir}/%{name}.desktop |
3ecedf3d | 96 | /etc/xdg/autostart/%{name}-autostart.desktop |