1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
%define _name kpmcore Name: lib%_name Version: 3.3.0 Release: alt1 Summary: Library for managing partitions Group: System/Libraries License: GPLv3 Url: https://github.com/KDE/%_name Source: %url/archive/%_name-%version.tar.gz Provides: %_name = %version-%release %define blkid_ver 2.30 BuildRequires: gcc-c++ extra-cmake-modules rpm-build-kf5 BuildRequires: libatasmart-devel libblkid-devel >= %blkid_ver libparted-devel BuildRequires: kf5-ki18n-devel kf5-kiconthemes-devel kf5-kio-devel %description %_name is a Library for managing partitions. Common code for KDE Partition Manager and other projects. %package devel Summary: Development files for icclib Group: Development/C Requires: %name = %version-%release Provides: %_name-devel = %version-%release %description devel %_name is a Library for managing partitions. Common code for KDE Partition Manager and other projects. This package provides headers and libraries for development applications using %_name. %prep %setup -n %_name-%version %build %K5build %install %K5install %files %_K5lib/*.so.* %_libdir/qt5/plugins/*.so %_K5srv/pmdummybackendplugin.desktop %_K5srv/pmlibpartedbackendplugin.desktop %_K5srvtyp/pmcorebackendplugin.desktop %files devel %_includedir/%_name/ %_K5lib/cmake/KPMcore/ %_K5link/*.so %changelog * Thu Dec 28 2017 Yuri N. Sedunov <aris@altlinux.org> 3.3.0-alt1 - 3.3.0 * Sat Nov 11 2017 Yuri N. Sedunov <aris@altlinux.org> 3.2.1-alt1 - 3.2.1 * Mon Oct 16 2017 Yuri N. Sedunov <aris@altlinux.org> 3.2.0-alt1 - 3.2.0 * Thu Apr 06 2017 Yuri N. Sedunov <aris@altlinux.org> 3.0.3-alt1 - first build for Sisyphus