]> git.pld-linux.org Git - packages/jpilot.git/blob - jpilot.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source0:        http://jpilot.org/%{name}-%{version}.tar.gz
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 URL:            http://jpilot.org/
13 BuildRequires:  gettext-devel
14 BuildRequires:  gtk+-devel >= 1.2.0
15 BuildRequires:  pilot-link-devel
16 ExcludeArch:    s390 s390x
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 J-Pilot is a desktop organizer application for the palm pilot that
24 runs under Linux. t is similar in functionality to the one that 3com
25 distributes for a well known rampant legacy operating system.
26
27 %description -l pl
28 J-Pilot jest programem do zarz±dzania organizerami typu Palm Pilot
29 dla Linux'a z mo¿liwo¶ci± dodawania wtyczek. Posiada zbli¿on± 
30 funkcjonalno¶æ do oryginalnego oprogramowania 3com'a dla Palm Pilota.
31
32 %description -l pt_BR
33 Um software para interação com o Pilot.
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.028563 seconds and 4 git commands to generate.