]> git.pld-linux.org Git - packages/jpilot.git/blob - jpilot.spec
- adding es/pt/pt_BR Group translations
[packages/jpilot.git] / jpilot.spec
1 Summary:        Jpilot - Palm Pilot desktop software
2 Summary(pl):    Program zarz±dzania Palm Pilot'em
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(es):      X11/Aplicaciones
11 Group(pl):      X11/Aplikacje
12 Group(pt_BR):   X11/Aplicações
13 Group(pt):      X11/Aplicações
14 Source0:        http://jpilot.org/%{name}-%{version}.tar.gz
15 Source1:        %{name}.desktop
16 Source2:        %{name}.png
17 URL:            http://jpilot.org/
18 BuildRequires:  gettext-devel
19 BuildRequires:  gtk+-devel >= 1.2.0
20 BuildRequires:  pilot-link-devel
21 ExcludeArch:    s390 s390x
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28 J-Pilot is a desktop organizer application for the palm pilot that
29 runs under Linux. t is similar in functionality to the one that 3com
30 distributes for a well known rampant legacy operating system.
31
32 %description -l pl
33 J-Pilot jest programem do zarz±dzania organizerami typu Palm Pilot
34 dla Linux'a z mo¿liwo¶ci± dodawania wtyczek. Posiada zbli¿on± 
35 funkcjonalno¶æ do oryginalnego oprogramowania 3com'a dla Palm Pilota.
36
37 %description -l pt_BR
38 Um software para interação com o Pilot.
39
40 %prep
41 %setup -q
42
43 %build
44 gettextize --copy --force
45 %configure
46 %{__make}
47 %{__make} jpilot-dump
48 %{__make} libplugin
49
50 (cd Expense
51 %configure
52 %{__make}}
53
54 (cd SyncTime
55 %configure
56 %{__make}}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_datadir},%{_mandir}/man1}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %{__make} install -C Expense \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %{__make} install -C SyncTime \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Applications
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Applications/jpilot.desktop
73
74 #install man pages
75 install docs/jpilot*.1 $RPM_BUILD_ROOT%{_mandir}/man1
76
77 gzip -9nf BUGS README TODO CREDITS
78
79 %find_lang %{name}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc *.gz
90 %attr(755,root,root) %{_bindir}/*
91 %{_datadir}/jpilot
92 %{_libdir}/%{name}
93 %config(noreplace) %{_sysconfdir}/X11/applnk/Applications/jpilot.desktop
This page took 0.076021 seconds and 4 git commands to generate.