Blob Blame History Raw
Name:           qt4pas
Version:        2.5
Release:        12%{?dist}
Summary:        Free Pascal Qt4 Binding
License:        LGPLv3
URL:            http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
Source0:        http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V%{version}/%{name}-V%{version}_Qt4.5.3.tar.gz
BuildRequires:  pkgconfig(Qt)
BuildRequires:  pkgconfig(QtWebKit)
Requires:       fpc-src

ExclusiveArch:  %{fpc_arches}

%description
The Free Pascal Qt4 binding allows Free Pascal to interface with the 
C++ Library Qt.

This binding does not cover the whole Qt4 framework but only the 
classes needed by the Cross Platform Lazarus IDE to use Qt as a 
Widget set.

%package        devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}

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

%prep
%setup -qn %{name}-V%{version}_Qt4.5.3

%build
%qmake_qt4 Qt4Pas.pro
%make_build

%install
make install INSTALL_ROOT=%{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc README.TXT
%license COPYING.TXT
%{_libdir}/libQt4Pas.so.*

%files devel
%{_libdir}/libQt4Pas.so

%changelog
* Thu Mar 30 2017 Vasiliy N. Glazov <vascom2@gmail.com> 2.5-12
- Use macro to define supported build arches

* Wed Mar 29 2017 Vasiliy N. Glazov <vascom2@gmail.com> 2.5-11
- Exclude build arches not supported by fpc

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Fri Jun 03 2016 Vasiliy N. Glazov <vascom2@gmail.com> 2.5-9
- Use pkgconfig for BR

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.5-6
- Rebuilt for GCC 5 C++11 ABI change

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Fri Aug 09 2013 Christopher Meng <rpm@cicku.me> - 2.5-3
- Rebuild for ARMv7.

* Thu Jul 25 2013 Christopher Meng <rpm@cicku.me> - 2.5-2
- Remove unneeded pas file.

* Sat Dec 31 2011 Christopher Meng <rpm@cicku.me> - 2.5-1
- Update to new version.

* Tue Jul 19 2011 Christopher Meng <rpm@cicku.me> - 2.4-1
- Update to new version.
- Qt4.7 support.
- Add -mstackrealign to avoid crashes.

* Tue Aug 17 2010 Christopher Meng <cickumqt-NOSPAM@gmail.com> - 2.2-1
- Initial Package.