fcitx-qt5/fcitx-qt5.spec

101 lines
2.8 KiB
RPMSpec
Raw Normal View History

2015-05-29 06:00:08 +00:00
%global project_name FcitxQt5
Name: fcitx-qt5
2016-01-25 12:37:11 +00:00
Version: 1.0.5
Release: 2%{?dist}
2015-05-29 06:00:08 +00:00
Summary: Fcitx IM module for Qt5
# The entire source code is GPLv2+ except
# platforminputcontext/keyserver_x11.h which is LGPLv2+
License: GPLv2+ and LGPLv2+
URL: https://github.com/fcitx/fcitx-qt5
Source0: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: fcitx-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: libxkbcommon-devel
BuildRequires: extra-cmake-modules
2015-09-23 13:12:07 +00:00
# The author requests that fcitx-qt5 should be rebuilt for each minor version
# of qt5
Requires: qt5-qtbase%{?_isa} = %{_qt5_version}
2015-05-29 06:00:08 +00:00
%filter_provides_in %{_qt5_plugindir}/platforminputcontexts/libfcitxplatforminputcontextplugin.so
%filter_setup
%description
This package provides Fcitx Qt5 input context.
%package devel
Summary: Development files for fcitx-qt5
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake
%description devel
The %{name}-devel package contains libraries and header files necessary for
developing programs using fcitx-qt5 libraries.
%prep
%setup -q
%build
mkdir -pv build
pushd build
%cmake ..
popd
make %{?_smp_mflags} -C build
2015-05-29 06:00:08 +00:00
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" -C build
2015-05-29 06:00:08 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README COPYING
%{_libdir}/lib%{project_name}*.so.*
%{_qt5_plugindir}/platforminputcontexts/libfcitxplatforminputcontextplugin.so
%files devel
%{_includedir}/%{project_name}
%{_libdir}/lib%{project_name}*.so
%{_libdir}/cmake/*
%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-25 12:37:11 +00:00
* Mon Jan 25 2016 Robin Lee <cheeselee@fedoraproject.org> - 1.0.5-1
- Update to 1.0.5
2015-12-07 11:58:30 +00:00
* Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-4
- rebuild (qt5)
* Fri Oct 09 2015 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-3
- rebuild(qt5), tighten qt5 dep, .spec cosmetics
2015-09-23 13:12:07 +00:00
* Wed Sep 23 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.4-2
- Requires a versioned qt5-qtbase
2015-09-22 16:44:58 +00:00
* Tue Sep 22 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.4-1
- Update to 1.0.4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-01 02:30:52 +00:00
* Mon Jun 1 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-2
- Don't explicitly require fcitx
2015-05-29 06:00:08 +00:00
* Thu Apr 30 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-1
- Update to 1.0.2
- License tag revised
- BR: libxkbcommon-devel
* Thu Apr 16 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1
* Fri Dec 12 2014 Robin Lee <cheeselee@fedoraproject.org> - 0.1.3-1
- Initial package