rpms/qoauth/devel qoauth.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
supercyper
supercyper at fedoraproject.org
Wed Jun 23 02:51:29 UTC 2010
Author: supercyper
Update of /cvs/pkgs/rpms/qoauth/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26220
Modified Files:
.cvsignore sources
Added Files:
qoauth.spec
Log Message:
Initial import
--- NEW FILE qoauth.spec ---
%define githash 7f69e33
%define gitdate 20100622
Name: qoauth
Version: 1.0.1
Release: 0.2.%{gitdate}git%{githash}%{?dist}
Summary: Qt-based C++ library for OAuth authorization scheme
Group: System Environment/Libraries
License: LGPLv2+
URL: http://github.com/ayoy/qoauth
#Source0: http://files.ayoy.net/qoauth/release/%{version}/src/%{name}-%{version}-src.tar.bz2
# The source is generated from the git snapshot using the following command
# git clone git://github.com/ayoy/qoauth.git
# git archive master --prefix=qoauth-`git log --pretty=format:"%h"| head -n1`/ |bzip2 > qoauth-`git log --pretty=format:"%h"|head -n1`.tar.bz2
Source0: %{name}-%{githash}.tar.bz2
BuildRequires: qt4-devel qca2-devel doxygen
Requires: qca-ossl%{?_isa}
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
%description
QOAuth is a Qt-based C++ implementation of an interface to services using
OAuth authorization scheme.
%package devel
Summary: Development files for the Qt OAuth support library
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: qt4-devel%{?_isa}
Requires: qca2-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries, header files and documentations
for developing applications that use QOAuth library.
%prep
%setup -q -n %{name}-%{githash}
sed -i -e '/^ *docs \\$/d' \
-e "s!\(\$\${INSTALL_PREFIX}\)/lib.*!%{_libdir}!" src/src.pro
sed -i -e 's\/lib\/%{_lib}\g' src/pcfile.sh
%build
export PATH=%{_qt4_bindir}:$PATH
%{_qt4_qmake} PREFIX="%{_prefix}"
make %{?_smp_mflags}
%install
make install INSTALL="install -p" INSTALL_ROOT=%{buildroot}
doxygen Doxyfile
%check
make check
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README CHANGELOG LICENSE
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc doc/html doc/examples
%{_libdir}/*.so
%{_libdir}/*.prl
%{_libdir}/pkgconfig/*.pc
%{_qt4_prefix}/mkspecs/features/*.prf
%{_includedir}/*
%changelog
* Tue Jun 22 2010 Chen Lei <supercyper at 163.com> - 1.0.1-0.2.20100622git7f69e33
- New upstream version
- Add %%check section
* Tue May 25 2010 Chen Lei <supercyper at 163.com> - 1.0.1-0.1.20100525gitec7e4d5
- initial rpm build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qoauth/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 23 Jun 2010 01:55:57 -0000 1.1
+++ .cvsignore 23 Jun 2010 02:51:29 -0000 1.2
@@ -0,0 +1 @@
+qoauth-7f69e33.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qoauth/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 23 Jun 2010 01:55:57 -0000 1.1
+++ sources 23 Jun 2010 02:51:29 -0000 1.2
@@ -0,0 +1 @@
+9a47a983cf1dd38416abf1e499e4241e qoauth-7f69e33.tar.bz2
More information about the scm-commits
mailing list