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