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
|
%define ver @VERSION@
%define rel 1
%define prefix /usr
Name: quicklist
Summary: lists listmaking Microsoft Works Apple Works
Version: %ver
Release: %rel
Copyright: GPL
Group: Applications/Productivity
Source: ftp://ftp.quicklist.org/quicklist-%{ver}.tar.gz
BuildRoot: /var/tmp/quicklist-%{PACKAGE_VERSION}-root
Requires: glib gtk+
Docdir: %{prefix}/doc
%description
QuickList is a free (GPL) gtk+ program for any un*x system with
gtk+ 1.2 or better that allows novice and experienced users to keep
track of "things" without any help from a system administrator.
"Things" can be anything, including bug lists, phone lists, restaurants,
team members, calendars, cool urls, checkbooks, fishing holes, CDs,
bunjee jumping cool sites, etc. It is completely flexible.
%prep
%setup
%build
if [ ! -f configure ]; then
./autogen.sh
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
fi
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{prefix}/bin/quicklist
#%{prefix}/share/locale/*/*/*
|