]> git.pld-linux.org Git - packages/synce-trayicon.git/blob - synce-trayicon.spec
- updated gettext BR
[packages/synce-trayicon.git] / synce-trayicon.spec
1 Summary:        SynCE tray icon for GNOME 2
2 Summary(pl.UTF-8):      SynCE jako ikona tacki dla środowiska GNOME 2
3 Name:           synce-trayicon
4 Version:        0.15.1
5 Release:        3
6 License:        MIT+LGPL
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)
31
32 %description
33 synce-trayicon is part of the SynCE project: <http://www.synce.org/>.
34
35 This application shows when a device is connected.
36
37 %description -l pl.UTF-8
38 synce-trayicon to część projektu SynCE: <http://www.synce.org/>.
39
40 Ta aplikacja pokazuje, kiedy urządzenie jest podłączone.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p2
46
47 %build
48 %{__libtoolize}
49 %{__aclocal} -I m4
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --disable-schemas-install \
55         --enable-vdccm-support \
56         --enable-odccm-support \
57         --disable-hal-support \
58         --enable-udev-support
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %find_lang %{name} --with-gnome
69
70 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.la
71
72 install -d $RPM_BUILD_ROOT/etc/xdg/autostart
73 mv $RPM_BUILD_ROOT{%{_datadir}/gnome/autostart,/etc/xdg/autostart}/%{name}-autostart.desktop
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
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
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
This page took 0.144591 seconds and 4 git commands to generate.