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