70 lines
1.7 KiB
RPMSpec
70 lines
1.7 KiB
RPMSpec
%define name pi-address
|
|
%define version 0.3.3
|
|
%define release 1
|
|
%define prefix /usr
|
|
|
|
%define builddir $RPM_BUILD_DIR/%{name}-%{version}
|
|
|
|
Summary: Pilot Address book
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Prefix: %{prefix}
|
|
Group: Applications/Productivity
|
|
Vendor: Michael Wiedmann <mw@miwie.in-berlin.de>
|
|
Packager: Troy Engel <tengel@sonic.net>
|
|
Source: %{name}-%{version}.tar.gz
|
|
URL: http://www.in-berlin.de/User/miwie/pia/
|
|
Copyright: GPL
|
|
BuildRoot: /tmp/%{name}-%{version}-root
|
|
Patch: %{name}-%{version}.makefile.patch
|
|
|
|
%description
|
|
Pi-address is an address book application whose file format is identical to
|
|
that used by the 3Com PalmPilot organizers, so that the files can be shared
|
|
easily.
|
|
|
|
%prep
|
|
rm -rf %{builddir}
|
|
|
|
%setup
|
|
%patch -p1
|
|
touch `find . -type f`
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
# This next line so it looks nicer for package
|
|
mv doc html
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf %{builddir}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(0755,root,root) /usr/X11R6/bin/pi-address
|
|
%attr(0644,root,root) %config /etc/pi-addressrc
|
|
%attr(0644,root,root) %doc AddressDB.pdb BUGS COPYING ChangeLog INSTALL
|
|
%attr(0644,root,root) %doc NEWS README THANKS TODO html/
|
|
|
|
%changelog
|
|
* Sun Jan 09 2000 Troy Engel <tengel@sonic.net>
|
|
- Updated for 0.3.3
|
|
- rewrote spec file
|
|
|
|
* Sun May 24 1998 Jon Lasser <jon@lasser.org>
|
|
- Updated for 0.2.2
|
|
- added pi-addressrc to doc directory
|
|
|
|
* Thu May 14 1998 Jon Lasser <jon@lasser.org>
|
|
- Updated for 0.2.1
|
|
|
|
* Sat Apr 25 1998 Jon Lasser <jon@lasser.org>
|
|
- Updated for 0.2.0
|
|
|
|
* Tue Mar 31 1998 Mark Cornick <msc@zorak.gsfc.nasa.gov>
|
|
- Changes to Jon Lasser's 0.1.4-1 spec file: BuildRooted, Made relocatable
|