rpms/qjson/devel import.log, NONE, 1.1 qjson.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

eliwap eliwap at fedoraproject.org
Tue Dec 22 05:42:10 UTC 2009


Author: eliwap

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

Modified Files:
	.cvsignore sources 
Added Files:
	import.log qjson.spec 
Log Message:

----------------------------------------------------------------------
Modified Files:
	devel/.cvsignore devel/sources 
        Added Files:
 	devel/import.log devel/qjson.spec 
----------------------------------------------------------------------




--- NEW FILE import.log ---
qjson-0_7_1-1_fc12:HEAD:qjson-0.7.1-1.fc12.src.rpm:1261459905


--- NEW FILE qjson.spec ---
Name:           qjson
Version:        0.7.1
Release:        1%{?dist}
Summary:        A qt-based library that maps JSON data to QVariant objects

Group:          Development/Languages
License:        GPLv2+
URL:            http://sourceforge.net/projects/qjson/
Source0:        http://downloads.sourceforge.net/project/qjson/qjson/0.7.1/qjson-0.7.1.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  qt-devel >= 4.0
BuildRequires:  cmake >= 2.6
BuildRequires:  doxygen

%description
JSON is a lightweight data-interchange format. It can represents integer, real
number, string, an ordered sequence of value, and a collection of
name/value pairs.QJson is a qt-based library that maps JSON data to
QVariant objects.

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

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

%prep
%setup -qn qjson

%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} -DQJSON_BUILD_TESTS=1  -DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules/  ..
cd %{_builddir}/%{buildsubdir}/doc
doxygen
popd

sed -i -e 's/-fno-exceptions -fno-check-new -fno-common//' \
-e 's/-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden//' \
-e 's/-ansi//' %{_target_platform}/src/CMakeFiles/qjson.dir/flags.make

make %{?_smp_mflags} -C %{_target_platform}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}

%check
LD_PRELOAD=%{_target_platform}/%{_lib}/libqjson.so \
           %{_target_platform}/tests/testparser
LD_PRELOAD=%{_target_platform}/%{_lib}/libqjson.so \
           %{_target_platform}/tests/testserializer

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_includedir}/qjson/
%{_libdir}/pkgconfig/*.pc
%{_datadir}/cmake/Modules/FindQJSON.cmake
%{_libdir}/*.so

%changelog
* Sat Dec 12 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.7.1-1
-0.7.1
- Version upgrade
- Fixed doxygen documentation (Thanks again Orcan)

* Tue Dec 8 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-6
-0.6.3
- Fixed capitalization of the summary 

* Tue Dec 8 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-5
-0.6.3
- Moved Doxygen docs to the development package.
- Corrected placement of the cmake project file (Thanks Orcan)
- Fixed the running of the build tests
- Corrected column length of the descriptions
- Changed description of the devlepment package

* Sun Dec 6 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-4
-0.6.3
- Additional placment of library files fix

* Fri Dec 4 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-3
-0.6.3
- Fixed placment of library files
- Activated build tests
- Corrected ownership of include directory
- Corrected dependacies
- Added doxygen documentation
- Fixed reported version in the changelogs

* Sun Nov 22 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-2
-0.6.3
- Split off development libraries to its own package
- Modified licensing in spec file to reflect GPL2 code though docs state that qjson
-   licensed under LPGL
- Uncommeted and corrected sed line in this spec file

* Sun Nov 22 2009 Eli Wapniarski <eli at orbsky.homelinux.org> 0.6.3-1
-0.6.3
- Initial Build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qjson/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Dec 2009 19:49:29 -0000	1.1
+++ .cvsignore	22 Dec 2009 05:42:10 -0000	1.2
@@ -0,0 +1 @@
+qjson-0.7.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qjson/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Dec 2009 19:49:29 -0000	1.1
+++ sources	22 Dec 2009 05:42:10 -0000	1.2
@@ -0,0 +1 @@
+5a833ad606c164ed8aa69f0873366ace  qjson-0.7.1.tar.bz2




More information about the scm-commits mailing list