Initial import
This commit is contained in:
parent
4b817c35ac
commit
378d857025
|
@ -0,0 +1 @@
|
|||
/fcitx-qt5-1.0.2.tar.xz
|
|
@ -0,0 +1,75 @@
|
|||
%global project_name FcitxQt5
|
||||
|
||||
Name: fcitx-qt5
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
Requires: fcitx%{?_isa}
|
||||
%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 ..
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
|
||||
%install
|
||||
pushd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
popd
|
||||
|
||||
%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
|
||||
* 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
|
Loading…
Reference in New Issue