Name: qtweetlib Summary: Qt-based Twitter library Version: 0.5 Release: 1%{?dist} License: GPLv2+ Url: https://github.com/minimoog/QTweetLib/ Source0: https://github.com/downloads/minimoog/QTweetLib/QTweetLib-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(QJson) BuildRequires: pkgconfig(QtGui) pkgconfig(QtNetwork) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary} %prep %setup -q -n QTweetLib-%{version} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README LICENSE %{_libdir}/libQTweetLib.so.1* %files devel %defattr(-,root,root,-) %{_libdir}/libQTweetLib.so %{_includedir}/QTweetLib/ %changelog * Mon Apr 23 2012 Rex Dieter <rdieter@fedoraproject.org> 0.5-1 - 0.5.0 - abi bump * Mon Nov 14 2011 Rex Dieter <rdieter@fedoraproject.org> 0.3.0-1 - 0.3.0 * Thu Jun 02 2011 Rex Dieter <rdieter@fedoraproject.org> 0.0-0.1.20110602 - first try, 20110602 snapshot