rpms/liborigin2/devel import.log, NONE, 1.1 liborigin2-path.patch, NONE, 1.1 liborigin2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

supercyper supercyper at fedoraproject.org
Wed Jan 27 05:13:05 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/liborigin2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19525/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log liborigin2-path.patch liborigin2.spec 
Log Message:
- initial commit 



--- NEW FILE import.log ---
liborigin2-06042009-2_20100119svn_fc12:HEAD:liborigin2-06042009-2.20100119svn.fc12.src.rpm:1264569155

liborigin2-path.patch:
 liborigin.pro |   24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

--- NEW FILE liborigin2-path.patch ---
--- liborigin2-06042009.org/liborigin.pro	2009-03-26 15:49:34.000000000 +0800
+++ liborigin2-06042009/liborigin.pro	2009-11-25 15:28:45.003182843 +0800
@@ -7,9 +7,9 @@
 
 DESTDIR      = ./
 
-#INCLUDEPATH += boost_1_33_0
-LIBS        += -lboost_date_time
-LIBS        += -lboost_thread
+INCLUDEPATH += $$BOOSTINC
+LIBS        += -lboost_date_time-mt
+LIBS        += -lboost_thread-mt
 
 HEADERS += endianfstream.hh
 HEADERS += logging.hpp
@@ -23,4 +23,20 @@
 SOURCES += OriginParser.cpp
 SOURCES += OriginDefaultParser.cpp
 SOURCES += Origin750Parser.cpp
-
+
# Install directives
+
+INSTALLBASE = /usr
+
+target.path = $$LIBDIR
+headers.path = $$INSTALLBASE/include/liborigin2
+documentation.path = $$ORIDOCDIR
+headers.files = $$HEADERS tree.hh
+documentation.files += doc/html  \
+			copying \
+			readme \
+			FORMAT
+INSTALLS = target headers documentation
+
+# Avoid link against Qt core and gui modules
+
+QT -= core gui


--- NEW FILE liborigin2.spec ---
Name:			liborigin2
Version:		06042009
Release:		2.20100119svn%{?dist}
Summary:		Library for reading OriginLab project files
License:		GPLv3
Group:			System Environment/Libraries
URL:			http://soft.proindependent.com/%{name}/
#Source0:		http://download.berlios.de/qtiplot/%{name}-%{version}.zip
# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
#  svn export -r 1552 svn://svn.berlios.de/qtiplot/trunk/3rdparty/liborigin liborigin2-20100119
#  tar -cjvf liborigin2-20100119.tar.bz2 liborigin2-20100119
Source0:		liborigin2-20100119.tar.bz2
# Fixes build and install
Patch0:			liborigin2-path.patch
BuildRoot:		%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires:		boost-devel
BuildRequires:		qt4-devel
BuildRequires:		doxygen
BuildRequires:		dos2unix

%description
liborigin2 is a library for reading OriginLab project files. OriginLab 
Origin provides extensive scientific graphing and data analysis capabilities 
and includes several new tools that simplify common operations.

See http://www.originlab.com for more informations about OriginLab Origin.

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

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

%package doc
Summary:		Documentation for %{name}
Group:			Documentation
Requires:		%{name} = %{version}-%{release}
BuildArch:		noarch

%description doc
The %{name}-doc package contains documentation for the %{name} library.

%prep
%setup -q -n %{name}-20100119
%patch0 -p1
#fix source files for debug package
find . -name '*.h' -exec dos2unix {} \;
find . -name '*.hh' -exec dos2unix {} \;
find . -name '*.hpp' -exec dos2unix {} \;
find . -name '*.c' -exec dos2unix {} \;
find . -name '*.cc' -exec dos2unix {} \;
find . -name '*.cpp' -exec dos2unix {} \;
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;

%build
export PATH=%{_qt4_bindir}:$PATH
%_qt4_qmake ORIDOCDIR=%{_docdir}/%{name}-%{version} LIBDIR=%{_libdir} \
	BOOSTINC=%{_includedir}/boost
make %{?_smp_mflags}
pushd doc
doxygen Doxyfile
popd
dos2unix readme
dos2unix copying
iconv -f iso8859-5 -t utf-8 FORMAT -o FORMAT
dos2unix FORMAT

%install
rm -rf %{buildroot}
make INSTALL="install -p" INSTALL_ROOT=%{buildroot} install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/copying
%{_docdir}/%{name}-%{version}/readme
%{_docdir}/%{name}-%{version}/FORMAT
%{_libdir}/%{name}.so.1*

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}/
%{_libdir}/%{name}.so

%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}/html

%changelog
* Sat Jan 23 2010 Chen Lei <supercyper AT 163 DOT com> - 06042009-2.20100119svn
- svn 1552
- split doc subpackage
* Wed Nov 25 2009 Chen Lei <supercyper AT 163 DOT com> - 06042009-1
- add API documentation
* Sat Nov 21 2009 Chen Lei <supercyper AT 163 DOT com> - 06042009-0
- initial rpm build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/liborigin2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 Jan 2010 05:03:37 -0000	1.1
+++ .cvsignore	27 Jan 2010 05:13:05 -0000	1.2
@@ -0,0 +1 @@
+liborigin2-20100119.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/liborigin2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 Jan 2010 05:03:37 -0000	1.1
+++ sources	27 Jan 2010 05:13:05 -0000	1.2
@@ -0,0 +1 @@
+8b4443cdc9b30826ded22c6a72e7bea7  liborigin2-20100119.tar.bz2



More information about the scm-commits mailing list