]>
Commit | Line | Data |
---|---|---|
1 | %define kdeframever 5.81 | |
2 | %define qtver 5.9.0 | |
3 | %define kfname purpose | |
4 | ||
5 | Summary: Offers available actions for a specific purpose | |
6 | Name: kf5-%{kfname} | |
7 | Version: 5.81.0 | |
8 | Release: 1 | |
9 | License: LGPL v2.1+ | |
10 | Group: X11/Libraries | |
11 | Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz | |
12 | # Source0-md5: 58ff7ce6f54224724d4e1bca92c7d0cc | |
13 | URL: http://www.kde.org/ | |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: Qt5Test-devel >= %{qtver} | |
16 | BuildRequires: cmake >= 2.8.12 | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: ka5-kaccounts-integration-devel | |
19 | BuildRequires: kf5-extra-cmake-modules >= %{version} | |
20 | BuildRequires: kf5-kconfig-devel >= %{version} | |
21 | BuildRequires: kf5-kcoreaddons-devel >= %{version} | |
22 | BuildRequires: kf5-ki18n-devel >= %{version} | |
23 | BuildRequires: kf5-kio-devel >= %{version} | |
24 | BuildRequires: kf5-kirigami2-devel >= %{version} | |
25 | BuildRequires: libaccounts-glib-devel | |
26 | BuildRequires: libaccounts-qt5-devel | |
27 | BuildRequires: libsignon-qt5-devel >= 8.55 | |
28 | BuildRequires: libutempter-devel | |
29 | BuildRequires: ninja | |
30 | BuildRequires: rpmbuild(macros) >= 1.164 | |
31 | BuildRequires: tar >= 1:1.22 | |
32 | BuildRequires: xz | |
33 | Requires: kf5-dirs | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %define qt5dir %{_libdir}/qt5 | |
37 | ||
38 | %description | |
39 | This framework offers the possibility to create integrate services and | |
40 | actions on any application without having to implement them | |
41 | specifically. Purpose will offer them mechanisms to list the different | |
42 | alternatives to execute given the requested action type and will | |
43 | facilitate components so that all the plugins can receive all the | |
44 | information they need. | |
45 | ||
46 | %package twitter | |
47 | Summary: Twitter plugin for purpose | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | ||
51 | %description twitter | |
52 | Twitter plugin for purpose. | |
53 | ||
54 | %package devel | |
55 | Summary: Header files for %{kfname} development | |
56 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname} | |
57 | Group: X11/Development/Libraries | |
58 | Requires: %{name} = %{version}-%{release} | |
59 | ||
60 | %description devel | |
61 | Header files for %{kfname} development. | |
62 | ||
63 | %description devel -l pl.UTF-8 | |
64 | Pliki nagłówkowe dla programistów używających %{kfname}. | |
65 | ||
66 | %prep | |
67 | %setup -q -n %{kfname}-%{version} | |
68 | ||
69 | %build | |
70 | install -d build | |
71 | cd build | |
72 | %cmake -G Ninja \ | |
73 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
74 | ../ | |
75 | %ninja_build | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | %ninja_install -C build | |
80 | ||
81 | %find_lang %{kfname}5 --all-name --with-kde | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files -f %{kfname}5.lang | |
90 | %defattr(644,root,root,755) | |
91 | %ghost %{_libdir}/libKF5Purpose.so.5 | |
92 | %attr(755,root,root) %{_libdir}/libKF5Purpose.so.5.*.* | |
93 | %ghost %{_libdir}/libKF5PurposeWidgets.so.5 | |
94 | %attr(755,root,root) %{_libdir}/libKF5PurposeWidgets.so.5.*.* | |
95 | %ghost %{_libdir}/libPhabricatorHelpers.so.5 | |
96 | %attr(755,root,root) %{_libdir}/libPhabricatorHelpers.so.5.*.* | |
97 | %ghost %{_libdir}/libReviewboardHelpers.so.5 | |
98 | %attr(755,root,root) %{_libdir}/libReviewboardHelpers.so.5.*.* | |
99 | %dir %{_libdir}/qt5/plugins/kf5/kfileitemaction | |
100 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kfileitemaction/sharefileitemaction.so | |
101 | %dir %{_libdir}/qt5/plugins/kf5/purpose | |
102 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/bluetoothplugin.so | |
103 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/emailplugin.so | |
104 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/imgurplugin.so | |
105 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/kdeconnectplugin.so | |
106 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/kdeconnectsmsplugin.so | |
107 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/ktpsendfileplugin.so | |
108 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/nextcloudplugin.so | |
109 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/pastebinplugin.so | |
110 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/phabricatorplugin.so | |
111 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/reviewboardplugin.so | |
112 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/saveasplugin.so | |
113 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/telegramplugin.so | |
114 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/purpose/youtubeplugin.so | |
115 | %dir %{_libdir}/qt5/qml/org/kde/purpose | |
116 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/purpose/libpurposequickplugin.so | |
117 | %dir %{_libdir}/qt5/qml/org/kde/purpose/phabricator | |
118 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/purpose/phabricator/libphabricatorquickplugin.so | |
119 | %{_libdir}/qt5/qml/org/kde/purpose/phabricator/qmldir | |
120 | %{_libdir}/qt5/qml/org/kde/purpose/plugins.qmltypes | |
121 | %{_libdir}/qt5/qml/org/kde/purpose/qmldir | |
122 | %dir %{_libdir}/qt5/qml/org/kde/purpose/reviewboard | |
123 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/purpose/reviewboard/librbpurposequickplugin.so | |
124 | %{_libdir}/qt5/qml/org/kde/purpose/reviewboard/qmldir | |
125 | %attr(755,root,root) %{_libexecdir}/kf5/purposeprocess | |
126 | %dir %{_datadir}/accounts | |
127 | %dir %{_datadir}/accounts/services | |
128 | %dir %{_datadir}/accounts/services/kde | |
129 | %{_datadir}/accounts/services/kde/google-youtube.service | |
130 | %{_datadir}/accounts/services/kde/nextcloud-upload.service | |
131 | %{_datadir}/qlogging-categories5/purpose.categories | |
132 | %{_iconsdir}/hicolor/128x128/apps/phabricator-purpose.png | |
133 | %{_iconsdir}/hicolor/128x128/apps/reviewboard-purpose.png | |
134 | %{_iconsdir}/hicolor/16x16/actions/kipiplugin_youtube.png | |
135 | %{_iconsdir}/hicolor/16x16/apps/phabricator-purpose.png | |
136 | %{_iconsdir}/hicolor/16x16/apps/reviewboard-purpose.png | |
137 | %{_iconsdir}/hicolor/22x22/actions/kipiplugin_youtube.png | |
138 | %{_iconsdir}/hicolor/32x32/actions/kipiplugin_youtube.png | |
139 | %{_iconsdir}/hicolor/48x48/actions/kipiplugin_youtube.png | |
140 | %{_iconsdir}/hicolor/64x64/actions/kipiplugin_youtube.png | |
141 | %dir %{_datadir}/purpose | |
142 | %{_datadir}/purpose/bluetoothplugin_config.qml | |
143 | %{_datadir}/purpose/kdeconnectplugin_config.qml | |
144 | %{_datadir}/purpose/nextcloudplugin_config.qml | |
145 | %{_datadir}/purpose/phabricatorplugin_config.qml | |
146 | %{_datadir}/purpose/reviewboardplugin_config.qml | |
147 | %{_datadir}/purpose/saveasplugin_config.qml | |
148 | %{_datadir}/purpose/youtubeplugin_config.qml | |
149 | %{_datadir}/qlogging-categories5/purpose.renamecategories | |
150 | ||
151 | #%%files twitter | |
152 | #%%defattr(644,root,root,755) | |
153 | ||
154 | %files devel | |
155 | %defattr(644,root,root,755) | |
156 | %{_includedir}/KF5/purpose | |
157 | %{_includedir}/KF5/purposewidgets | |
158 | %{_libdir}/cmake/KDEExperimentalPurpose | |
159 | %{_libdir}/cmake/KF5Purpose | |
160 | %{_libdir}/libKF5Purpose.so | |
161 | %{_libdir}/libKF5PurposeWidgets.so |