File: jpilot.spec

package info (click to toggle)
jpilot 1.8.2-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 6,816 kB
  • ctags: 2,450
  • sloc: ansic: 41,667; sh: 12,081; makefile: 279
file content (151 lines) | stat: -rw-r--r-- 4,818 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
%define version 1.8.2

Name:      jpilot
Summary:   Desktop organizer software for the Palm Pilot
Version:   1.8.2
Release:   1
License:   GPL
Group:     Applications/Productivity
Source:    http://jpilot.org/jpilot-1.8.2.tar.gz
URL:       http://www.jpilot.org
Packager:  Judd Montgomery <judd@jpilot.org>
Prefix:    /usr
BuildRoot: %{_tmppath}/%{name}-1.8.2-root
Requires:  pilot-link >= 0.12.5

%description
J-Pilot is a desktop organizer application for the palm pilot that runs
under Linux and Unix using X-Windows and GTK+.  It is similar in
functionality to the one that 3Com distributes and has many features
not found in the 3Com desktop.

%define _prefix  %{prefix}
%define _mandir  %{prefix}/share/man
%define _infodir %{prefix}/share/info
%define _libdir  %{prefix}/lib
%define _datadir %{prefix}/share
%define _docdir  %{prefix}/share/doc/%{name}

%prep

%setup -q

%build
if [ ! -f ./configure ]; then
  ./autogen.sh --prefix=%{prefix} --mandir=%{_mandir}
else
  %configure --prefix=%{prefix} --mandir=%{_mandir}
fi
make

%install
rm -rf $RPM_BUILD_ROOT
strip jpilot
make DESTDIR=$RPM_BUILD_ROOT install 

%post

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/jpilot
%{_bindir}/jpilot-dial
%{_bindir}/jpilot-dump
%{_bindir}/jpilot-merge
%{_bindir}/jpilot-sync
%{_libdir}/jpilot/plugins/libexpense.la
%{_libdir}/jpilot/plugins/libexpense.so
%{_libdir}/jpilot/plugins/libkeyring.la
%{_libdir}/jpilot/plugins/libkeyring.so
%{_libdir}/jpilot/plugins/libsynctime.la
%{_libdir}/jpilot/plugins/libsynctime.so
%{_docdir}/AUTHORS
%{_docdir}/BUGS
%{_docdir}/ChangeLog
%{_docdir}/COPYING
%{_docdir}/INSTALL
%{_docdir}/README
%{_docdir}/TODO
%{_docdir}/icons/README
%{_docdir}/icons/jpilot-icon1.xpm
%{_docdir}/icons/jpilot-icon2.xpm
%{_docdir}/icons/jpilot-icon3.xpm
%{_docdir}/icons/jpilot-icon4.xpm
%{_docdir}/manual/jpilot-address.png
%{_docdir}/manual/jpilot-datebook.png
%{_docdir}/manual/jpilot-expense.png
%{_docdir}/manual/jpilot-install.png
%{_docdir}/manual/jpilot-memo.png
%{_docdir}/manual/jpilot-prefs-1.png
%{_docdir}/manual/jpilot-prefs-2.png
%{_docdir}/manual/jpilot-prefs-3.png
%{_docdir}/manual/jpilot-prefs-4.png
%{_docdir}/manual/jpilot-prefs-5.png
%{_docdir}/manual/jpilot-prefs-6.png
%{_docdir}/manual/jpilot-prefs-7.png
%{_docdir}/manual/jpilot-prefs-8.png
%{_docdir}/manual/jpilot-print.png
%{_docdir}/manual/jpilot-search.png
%{_docdir}/manual/jpilot-todo.png
%{_docdir}/manual/jpilot-toplogo.jpg
%{_docdir}/manual/manual.html
%{_docdir}/manual/plugin.html
%{_datadir}/jpilot/AddressDB.pdb
%{_datadir}/jpilot/CalendarDB-PDat.pdb
%{_datadir}/jpilot/ContactsDB-PAdd.pdb
%{_datadir}/jpilot/DatebookDB.pdb
%{_datadir}/jpilot/ExpenseDB.pdb
%{_datadir}/jpilot/MananaDB.pdb
%{_datadir}/jpilot/Memo32DB.pdb
%{_datadir}/jpilot/MemoDB.pdb
%{_datadir}/jpilot/MemosDB-PMem.pdb
%{_datadir}/jpilot/TasksDB-PTod.pdb
%{_datadir}/jpilot/ToDoDB.pdb
%{_datadir}/jpilot/jpilotrc.blue
%{_datadir}/jpilot/jpilotrc.default
%{_datadir}/jpilot/jpilotrc.green
%{_datadir}/jpilot/jpilotrc.purple
%{_datadir}/jpilot/jpilotrc.steel
%{_datadir}/locale/*/LC_MESSAGES/jpilot.mo
%{_mandir}/man1/jpilot-dial.1.gz
%{_mandir}/man1/jpilot-dump.1.gz
%{_mandir}/man1/jpilot-merge.1.gz
%{_mandir}/man1/jpilot-sync.1.gz
%{_mandir}/man1/jpilot.1.gz
%{_datadir}/applications/jpilot.desktop

%changelog
* Mon Apr 11 2011 rikster5 <jpilot@nomad.inbox5.com>
- Add jpilot-merge to distribution
* Mon Mar 08 2010 rikster5 <jpilot@nomad.inbox5.com>
- Use autoconf to replace VERSION rather than %version which is RedHat specific
* Mon Mar 08 2010 rikster5 <jpilot@nomad.inbox5.com>
- Use autoconf to replace VERSION rather than %version which is RedHat specific
* Sun Mar 07 2010 rikster5 <jpilot@nomad.inbox5.com>
- Revamped to include all files from 1.8.0 release
* Sat Feb 28 2010 rikster5 <jpilot@nomad.inbox5.com>
- Updated for 1.8.0 release
* Sat Sep 24 2005 Judd Montgomery <judd@jpilot.org>
- Updated for SuSE 9.3
* Sat Feb 22 2003 Judd Montgomery <judd@jpilot.org>
- fixed jpilotrc.* and empty/* files not being included
* Sat Feb 22 2003 Vladimir Bormotov <bor@insight.donbass.com>
- call autogen.sh if no configure found
- installation improvements
- Oct 8, 2002 <judd@jpilot.org>
  updated for automake build
* Tue Jun  5 2001 Christian W. Zuckschwerdt <zany@triq.net>
- moved jpilot.spec to jpilot.spec.in and autoconf'ed it.
- fixed this spec file so we don't need superuser privileges.
- changed the hardcoded path into rpm macros
* Wed Nov 22 2000 Matthew Vanecek <linux4us@home.com>
- deleted the calls to 'install' in the % install section since
  this is already done in the Makefile.
- Deleted the %attr tags from the %files list and made the default
  attribute to -,root,root.
- changed the /usr/ to % {prefix}/
- Added the % post section
- Added the % clean section
- Changed the description