]> git.pld-linux.org Git - packages/jpilot.git/blob - jpilot.spec
- completly rewrited but still NYF.
[packages/jpilot.git] / jpilot.spec
1 Summary:        Jpilot - Palm Pilot desktop software
2 Summary(es):    Jpilot pilot desktop software
3 Summary(pt_BR): Software para interação com o Pilot
4 Name:           jpilot
5 Version:        0.99
6 Release:        8
7 License:        GPL
8 Group:          X11/Applications
9 Group(de):      X11/Applikationen
10 Group(pl):      X11/Aplikacje
11 Source0:        http://jpilot.org/%{name}-%{version}.tar.gz
12 Source1:        %{name}.desktop
13 Source2:        %{name}.png
14 URL:            http://jpilot.org/
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+-devel >= 1.2.0
17 BuildRequires:  pilot-link-devel
18 ExcludeArch:    s390 s390x
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mandir         %{_prefix}/man
23
24 %description
25 J-Pilot is a desktop organizer application for the palm pilot that
26 runs under Linux. t is similar in functionality to the one that 3com
27 distributes for a well known rampant legacy operating system.
28
29 %description -l pt_BR
30 Um software para interação com o Pilot.
31
32 %description -l es
33 Pilot desktop software.
34
35 %prep
36 %setup -q
37
38 %build
39 gettextize --copy --force
40 %configure
41 %{__make}
42 %{__make} jpilot-dump
43 %{__make} libplugin
44
45 (cd Expense
46 %configure
47 %{__make}}
48
49 (cd SyncTime
50 %configure
51 %{__make}}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_datadir},%{_mandir}/man1}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__make} install -C Expense \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %{__make} install -C SyncTime \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Applications
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Applications/jpilot.desktop
68
69 #install man pages
70 install docs/jpilot*.1 $RPM_BUILD_ROOT%{_mandir}/man1
71
72 gzip -9nf BUGS README TODO CREDITS
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc *.gz
85 %attr(755,root,root) %{_bindir}/*
86 %{_datadir}/jpilot
87 %{_libdir}/%{name}
88 %config(noreplace) %{_sysconfdir}/X11/applnk/Applications/jpilot.desktop
This page took 0.202196 seconds and 4 git commands to generate.