rpms/qwtplot3d/devel license.txt, NONE, 1.1 qwtplot3d.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Julian Sikorski (belegdol) fedora-extras-commits at redhat.com
Wed Jan 3 08:34:16 UTC 2007


Author: belegdol

Update of /cvs/extras/rpms/qwtplot3d/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24499/devel

Modified Files:
	.cvsignore sources 
Added Files:
	license.txt qwtplot3d.spec 
Log Message:
auto-import qwtplot3d-0.2.6-2 on branch devel from qwtplot3d-0.2.6-2.src.rpm


--- NEW FILE license.txt ---
/* 
  
  QwtPlot3D license -- January 5th, 2005

  Copyright (C) 2003-2005 Michael Bieber

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the author be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

*/


--- NEW FILE qwtplot3d.spec ---
%define qtinc   %(qmake -query QT_INSTALL_PREFIX)/include
%define qtlib   %(qmake -query QT_INSTALL_PREFIX)/lib

Name:           qwtplot3d
Version:        0.2.6
Release:        2%{?dist}
Summary:        Qt/OpenGL-based C++ library providing a bunch of 3D-widgets for programmers

Group:          System Environment/Libraries
License:        zlib/libpng License
URL:            http://qwtplot3d.sourceforge.net/
Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tgz
Source1:        http://qwtplot3d.sourceforge.net/web/navigation/license.txt
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  qt-devel
BuildRequires:  libXmu-devel

%description
QwtPlot3D is not a  program, but a feature-rich Qt/OpenGL-based C++
programming library, providing essentially a  bunch of 3D-widgets for
programmers

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       qt-devel

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q -n %{name}
install -pm 644 %{SOURCE1} license.txt

#fix line endings
%{__sed} -i 's/\r//' license.txt
find examples -type f | xargs %{__sed} -i 's/\r//'

#fix premissions
chmod 644 examples/dsp.bat


%build
qmake qwtplot3d.pro
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{qtlib}
%{__install} -p -m 0755 lib/libqwtplot3d.so.0.2.6 $RPM_BUILD_ROOT%{qtlib}
ln -s libqwtplot3d.so.0.2.6 $RPM_BUILD_ROOT%{qtlib}/libqwtplot3d.so
ln -s libqwtplot3d.so.0.2.6 $RPM_BUILD_ROOT%{qtlib}/libqwtplot3d.so.0
mkdir -p $RPM_BUILD_ROOT%{qtinc}/qwtplot3d
%{__install} -p -m 0644 include/* $RPM_BUILD_ROOT%{qtinc}/qwtplot3d


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc license.txt
%{qtlib}/libqwtplot3d.so.*

%files devel
%defattr(-,root,root,-)
%doc examples
%{qtinc}/*
%{qtlib}/libqwtplot3d.so


%changelog
* Tue Jan 02 2007 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2.6-2
- Added qt-devel to -devel subpackage requires

* Sun Dec 31 2006 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.2.6-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/qwtplot3d/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Jan 2007 08:33:11 -0000	1.1
+++ .cvsignore	3 Jan 2007 08:33:46 -0000	1.2
@@ -0,0 +1 @@
+qwtplot3d-0.2.6.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/qwtplot3d/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Jan 2007 08:33:11 -0000	1.1
+++ sources	3 Jan 2007 08:33:46 -0000	1.2
@@ -0,0 +1 @@
+7ef960d7874f78162d6c9d241de2843e  qwtplot3d-0.2.6.tgz




More information about the scm-commits mailing list