| 1 |
# |
| 2 |
# "$Id$" |
| 3 |
# |
| 4 |
# RPM "spec" file for fldiff. |
| 5 |
# |
| 6 |
# Copyright 2005 by Michael Sweet |
| 7 |
# |
| 8 |
# This program is free software; you can redistribute it and/or modify |
| 9 |
# it under the terms of the GNU General Public License v2 as published |
| 10 |
# by the Free Software Foundation. |
| 11 |
# |
| 12 |
# This program is distributed in the hope that it will be useful, |
| 13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
# GNU General Public License for more details. |
| 16 |
# |
| 17 |
|
| 18 |
Summary: fldiff |
| 19 |
Name: fldiff |
| 20 |
Version: 1.1 |
| 21 |
Release: 1 |
| 22 |
Copyright: GPL |
| 23 |
Group: Development/Tools |
| 24 |
Source: http://www.easysw.com/~mike/fldiff/fldiff-%{version}-source.tar.gz |
| 25 |
Url: http://www.easysw.com/~mike/fldiff |
| 26 |
Packager: Michael Sweet <[email protected]> |
| 27 |
Vendor: Michael Sweet |
| 28 |
|
| 29 |
# Use buildroot so as not to disturb the version already installed |
| 30 |
BuildRoot: /var/tmp/%{name}-root |
| 31 |
|
| 32 |
%description |
| 33 |
|
| 34 |
%prep |
| 35 |
%setup |
| 36 |
./configure --prefix=/usr --mandir=/usr/share/man |
| 37 |
|
| 38 |
%build |
| 39 |
make |
| 40 |
|
| 41 |
%install |
| 42 |
# Make sure the RPM_BUILD_ROOT directory exists. |
| 43 |
rm -rf $RPM_BUILD_ROOT |
| 44 |
|
| 45 |
make BUILDROOT=$RPM_BUILD_ROOT install |
| 46 |
|
| 47 |
%clean |
| 48 |
rm -rf $RPM_BUILD_ROOT |
| 49 |
|
| 50 |
%files |
| 51 |
%defattr(-,root,root) |
| 52 |
/usr/bin/* |
| 53 |
/usr/share/applnk/* |
| 54 |
%dir /usr/share/doc/fldiff |
| 55 |
/usr/share/doc/fldiff/* |
| 56 |
/usr/share/man/* |
| 57 |
/usr/share/icons/* |
| 58 |
|
| 59 |
# |
| 60 |
# End of "$Id$". |
| 61 |
# |