]> git.pld-linux.org Git - packages/jpilot.git/blob - jpilot.spec
- updated to 0.99.6 version
[packages/jpilot.git] / jpilot.spec
1 #
2 # Conditional build:
3 # _with_gtk1    - use GTK+ 1.2 instead of GTK+2
4 #
5 Summary:        Desktop organizer application for PalmOS devices
6 Summary(pl):    Organizer dla urz±dzeñ PalmOS
7 Summary(pt_BR): Software para interação com o Pilot
8 Name:           jpilot
9 Version:        0.99.6
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        http://downloads.jpilot.org/%{name}-%{version}.tar.gz
14 # Source0-md5:  1572138321ce6759c65ecf83b8c84ef4
15 Source1:        %{name}.desktop
16 Source2:        %{name}.png
17 Patch0:         %{name}-configure.patch
18 Patch1:         %{name}-makefile.patch
19 URL:            http://jpilot.org/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  gettext-devel
23 %{?_with_gtk1:BuildRequires:    gtk+-devel >= 1.2.0}
24 %{!?_with_gtk1:BuildRequires:   gtk+2-devel >= 2.0.3}
25 BuildRequires:  intltool
26 BuildRequires:  libtool
27 BuildRequires:  openssl-devel
28 BuildRequires:  pilot-link-devel >= 0.11.5
29 BuildRequires:  readline-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 J-Pilot is a desktop organizer application for the PalmOS devices that
34 runs under Linux with plugins support. It is similar in functionality
35 to the original Palm Desktop software.
36
37 %description -l pl
38 J-Pilot jest programem do zarz±dzania urz±dzeniami PalmOS dla Linuksa
39 z mo¿liwo¶ci± dodawania wtyczek. Posiada zbli¿on± funkcjonalno¶æ do
40 oryginalnego oprogramowania Palm Desktop.
41
42 %description -l pt_BR
43 Um software para interação com o Pilot.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 rm -f missing
52 %{?_with_gtk1:echo 'AC_DEFUN([AM_PATH_GTK_2_0],[$3])' >> acinclude.m4}
53 %{!?_with_gtk1:echo 'AC_DEFUN([AM_PATH_GTK],[$3])' >> acinclude.m4}
54 %{__gettextize}
55 %{__libtoolize}
56 %{__aclocal}
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         %{!?_with_gtk1:--enable-gtk2}
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_datadir},%{_mandir}/man1}
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities/jpilot.desktop
71
72 #install man pages
73 install docs/jpilot*.1 $RPM_BUILD_ROOT%{_mandir}/man1
74
75 %find_lang %{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS BUGS UPGRADING README TODO icons docs/{*.png,*.jpg,*.html}
86 %attr(755,root,root) %{_bindir}/*
87 %{_datadir}/jpilot
88 %{_mandir}/man1/*
89 %{_libdir}/%{name}
90 %{_applnkdir}/Utilities/jpilot.desktop
This page took 0.047604 seconds and 4 git commands to generate.