kdelibs4support/kdelibs4support.spec

230 lines
8.4 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kdelibs4support
Version: 5.21.0
Release: 1mamba
Summary: Code and utilities to ease the transition from kdelibs 4 to KDE Frameworks 5
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}/portingAids/kdelibs4support-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkglobalaccel-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: kdesignerplugin
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This framework provides code and utilities to ease the transition from kdelibs 4 to KDE Frameworks 5. This includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks.
%package -n lib%{name}
Group: System/Libraries
Summary: Code and utilities to ease the transition from kdelibs 4 to KDE Frameworks 5
Requires: libkemoticons >= %{majver}
%description -n lib%{name}
This framework provides code and utilities to ease the transition from kdelibs 4 to KDE Frameworks 5. This includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libkemoticons-devel >= %{majver}
%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_kde5 -d build
# -DCMAKE_BUILD_TYPE=Release \
# -DLIB_INSTALL_DIR=%{_lib} \
# -DLIBEXEC_INSTALL_DIR=%{_lib} \
# -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
# -DBUILD_TESTING=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/colors/40.colors
%{_sysconfdir}/xdg/colors/Oxygen.colors
%{_sysconfdir}/xdg/colors/Rainbow.colors
%{_sysconfdir}/xdg/colors/Royal.colors
%{_sysconfdir}/xdg/colors/Web.colors
%{_sysconfdir}/xdg/kdebug.areas
%{_sysconfdir}/xdg/kdebugrc
%{_sysconfdir}/xdg/ksslcalist
%{_libdir}/libKF5KDELibs4Support.so.*
%{_libdir}/qt5/plugins/designer/kf5deprecatedwidgets.so
%{_libdir}/qt5/plugins/kcm_ssl.so
%{_libdir}/qt5/plugins/kf5/kded/networkstatus.so
%{_libdir}/qt5/plugins/kf5/kio/metainfo.so
%{_datadir}/kf5/locale/countries/*
%{_datadir}/kf5/locale/currency/*
%{_datadir}/kf5/widgets/pics/*.png
%{_datadir}/kservices5/kcm_ssl.desktop
#%{_datadir}/kservices5/kded/networkstatus.desktop
%{_datadir}/kservices5/metainfo.protocol
%{_datadir}/kservices5/qimageioplugins/*.desktop
%{_datadir}/kservicetypes5/kdatatool.desktop
%{_datadir}/kservicetypes5/kfilewrite.desktop
%{_datadir}/kservicetypes5/kscan.desktop
%{_datadir}/kservicetypes5/qimageio_plugin.desktop
%{_datadir}/locale/kf5_all_languages
%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml
%{_datadir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml
%{_datadir}/doc/HTML/*/kdebugdialog5/*
%dir %{_datadir}/doc/HTML/en/kcontrol/kcm_ssl
%{_datadir}/doc/HTML/en/kcontrol/kcm_ssl/*
%{_datadir}/kf5/kdoctools/customization/catalog4.xml
%{_datadir}/kf5/kdoctools/customization/dtd/kdex.dtd
%{_datadir}/kf5/kssl/ca-bundle.crt
%{_mandir}/man1/kf5-config.1*
%{_mandir}/ca/man1/kf5-config.1*
%{_mandir}/de/man1/kf5-config.1*
%{_mandir}/it/man1/kf5-config.1*
%{_mandir}/nl/man1/kf5-config.1*
%{_mandir}/pt_BR/man1/kf5-config.1*
%{_mandir}/sv/man1/kf5-config.1*
%{_mandir}/uk/man1/kf5-config.1*
%doc COPYING COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/kdebugdialog5
%{_bindir}/kf5-config
%dir %{_includedir}/KF5/KDELibs4Support
%dir %{_includedir}/KF5/KDELibs4Support/KDE
%{_includedir}/KF5/KDELibs4Support/KDE/*
%{_includedir}/KF5/KDELibs4Support/kgenericfactory.tcc
%dir %{_includedir}/KF5/KDELibs4Support/kio
%{_includedir}/KF5/KDELibs4Support/kio/*.h
%dir %{_includedir}/KF5/KDELibs4Support/knewstuff3
%{_includedir}/KF5/KDELibs4Support/knewstuff3/*.h
%dir %{_includedir}/KF5/KDELibs4Support/kparts
%{_includedir}/KF5/KDELibs4Support/kparts/*.h
%{_includedir}/KF5/KDELibs4Support/*.h
%dir %{_includedir}/KF5/KDELibs4Support/solid
%{_includedir}/KF5/KDELibs4Support/solid/*.h
%{_includedir}/KF5/kdelibs4support_version.h
%dir %{_libdir}/cmake/KDELibs4
%{_libdir}/cmake/KDELibs4/KF5KDELibs4*.cmake
%{_libdir}/cmake/KDELibs4/KDELibsDependencies.cmake
%{_libdir}/cmake/KDELibs4/Win32.Manifest.in
%{_libdir}/cmake/KDELibs4/kde4_cmake_uninstall.cmake.in
%dir %{_libdir}/cmake/KF5KDE4Support
%{_libdir}/cmake/KF5KDE4Support/KF5KDE4Support*.cmake
%dir %{_libdir}/cmake/KF5KDELibs4Support
%{_libdir}/cmake/KF5KDELibs4Support/BasicFindPackageVersion.cmake.in
%{_libdir}/cmake/KF5KDELibs4Support/*.cmake
%{_libdir}/cmake/KF5KDELibs4Support/cmake-modules-styleguide.txt
%{_libdir}/cmake/KF5KDELibs4Support/kde4uic.cmake
%{_libdir}/cmake/KF5KDELibs4Support/FindLibPython.py
%{_libdir}/cmake/KF5KDELibs4Support/FindSIP.py
%{_libdir}/cmake/KF5KDELibs4Support/PythonCompile.py
%{_libexecdir}/kf5/fileshareset
%{_libdir}/libKF5KDELibs4Support.so
%doc README.md
%changelog
* Sun May 01 2016 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
- automatic version update by autodist
* Mon Apr 04 2016 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
- automatic version update by autodist
* Sun Feb 28 2016 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Tue Jan 19 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
* Wed Dec 09 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Wed Nov 18 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
- automatic version update by autodist
* Tue Aug 18 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
* Tue May 26 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 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface