ktexteditor/ktexteditor.spec

152 lines
5.4 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: ktexteditor
Version: 5.18.0
Release: 1mamba
Summary: Full text editor component
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/ktexteditor-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KTextEditor provides a powerful text editor component that you can embed in your application, either as a KPart or using the KF5::TextEditor library (if you need more control).
The text editor component contains many useful features, from syntax highlighting and automatic indentation to advanced scripting support, making it suitable for everything from a simple embedded text-file editor to an advanced IDE.
%package -n lib%{name}
Group: System/Libraries
Summary: Full text editor component
%description -n lib%{name}
KTextEditor provides a powerful text editor component that you can embed in your application, either as a KPart or using the KF5::TextEditor library (if you need more control).
The text editor component contains many useful features, from syntax highlighting and automatic indentation to advanced scripting support, making it suitable for everything from a simple embedded text-file editor to an advanced IDE.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang ktexteditor5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f ktexteditor5.lang
%defattr(-,root,root)
#%{_sysconfdir}/xdg/katemoderc
#%{_sysconfdir}/xdg/kateschemarc
#%{_sysconfdir}/xdg/katesyntaxhighlightingrc
%{_libdir}/libKF5TextEditor.so.*
%{_libdir}/plugins/kf5/parts/katepart.so
%dir %{_datadir}/katepart5
%dir %{_datadir}/katepart5/script
%{_datadir}/katepart5/script/*
%dir %{_datadir}/katepart5/syntax
%{_datadir}/katepart5/syntax/*
%{_datadir}/kservices5/katepart.desktop
%{_datadir}/kservicetypes5/ktexteditor.desktop
%{_datadir}/kservicetypes5/ktexteditorplugin.desktop
#%{_datadir}/kxmlgui5/katepart/katepart5ui.rc
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KTextEditor
%dir %{_includedir}/KF5/KTextEditor/KTextEditor
%{_includedir}/KF5/KTextEditor/KTextEditor/*
%dir %{_includedir}/KF5/KTextEditor/ktexteditor
%{_includedir}/KF5/KTextEditor/ktexteditor/*
%{_includedir}/KF5/KTextEditor/ktexteditor_export.h
%{_includedir}/KF5/ktexteditor_version.h
%dir %{_libdir}/cmake/KF5TextEditor
%{_libdir}/cmake/KF5TextEditor/KF5TextEditor*.cmake
%{_libdir}/libKF5TextEditor.so
/usr/mkspecs/modules/qt_KTextEditor.pri
%doc README.md
%changelog
* Mon Jan 18 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
- automatic version update by autodist
* Sun Dec 27 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Fri Dec 11 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Fri Nov 13 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
- automatic version update by autodist
* Mon Oct 12 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
- automatic version update by autodist
* Mon Aug 17 2015 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Thu Jul 09 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Sat May 23 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Sat Apr 25 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Sun Mar 29 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Sun Mar 15 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface