From a2b37021e2facffab35ad98e3e3300c7c671e392 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 4 Jun 2000 20:54:56 +0000 Subject: [PATCH] Updated spec file to work right... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fltk.spec | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/fltk.spec b/fltk.spec index 97c7333e1..2eadae2b6 100644 --- a/fltk.spec +++ b/fltk.spec @@ -1,5 +1,5 @@ # -# "$Id: fltk.spec,v 1.1.2.2 2000/05/15 19:20:03 mike Exp $" +# "$Id: fltk.spec,v 1.1.2.3 2000/06/04 20:54:56 mike Exp $" # # RPM spec file for FLTK. # @@ -32,7 +32,7 @@ Name: fltk Version: %{version} Release: %{release} Copyright: LGPL -Group: Development/Libraries +Group: System Environment/Libraries Source: ftp://ftp.fltk.org/pub/fltk/%{version}/fltk-%{version}-source.tar.gz URL: http://www.fltk.org Packager: Michael Sweet @@ -45,12 +45,17 @@ small group of developers across the world with a central repository in the US. # use buildroot so as not to disturb the version already installed -BuildRoot: /tmp/rpmbuild +BuildRoot: /var/tmp/fltk-%{PACKAGE_VERSION} %package devel Summary: FLTK - development environment Group: Development/Libraries +%description devel +Install fltk-devel if you need to develop FLTK applications. You'll +need to install the fltk package if you plan to run dynamically linked +applications. + %prep %setup @@ -66,20 +71,24 @@ make rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT +make prefix=$RPM_BUILD_ROOT/%{prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) +%{prefix}/lib/libfltk*.so.* -%{prefix}/bin/* -%{prefix}/include/FL/* +%files devel +%defattr(-,root,root) +%{prefix}/lib/libfltk*.so +%{prefix}/lib/libfltk*.a +%{prefix}/include/FL %{prefix}/include/Fl -%{prefix}/lib/* +%{prefix}/bin/fluid %{prefix}/share/doc/fltk/* # -# End of "$Id: fltk.spec,v 1.1.2.2 2000/05/15 19:20:03 mike Exp $". +# End of "$Id: fltk.spec,v 1.1.2.3 2000/06/04 20:54:56 mike Exp $". #