/[packages]/cauldron/libqtxdg/current/SPECS/libqtxdg.spec
ViewVC logotype

Contents of /cauldron/libqtxdg/current/SPECS/libqtxdg.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2058413 - (show annotations) (download)
Wed Apr 17 17:24:28 2024 UTC (6 weeks ago) by papoteur
File size: 2748 byte(s)
- new version 4.0.0
1 %define major 4
2 %define libname %mklibname qt6xdg %{major}
3 %define libloadername %mklibname qt6xdgiconloader %{major}
4 %define devname %mklibname qt6xdg -d
5
6 %define rel 1
7
8 Name: libqtxdg
9 Version: 4.0.0
10 Release: %mkrel %rel
11 Summary: Library providing freedesktop.org specs implementations for Qt
12 License: LGPLv2+
13 Group: System/Libraries
14 URL: https://lxqt-project.org/
15 Source0: https://github.com/lxqt/libqtxdg/releases/download/%{version}/%{name}-%{version}.tar.xz
16
17 BuildRequires: cmake
18 BuildRequires: cmake(lxqt2-build-tools)
19 # BuildRequires: cmake(lxqt2-menu-data)
20 BuildRequires: ninja
21 BuildRequires: magic-devel
22
23 BuildRequires: cmake(Qt6Core)
24 BuildRequires: cmake(Qt6Gui)
25 BuildRequires: cmake(Qt6Widgets)
26 BuildRequires: cmake(Qt6Xml)
27 BuildRequires: cmake(Qt6Help)
28 BuildRequires: cmake(Qt6Test)
29 BuildRequires: cmake(Qt6DBus)
30 BuildRequires: cmake(Qt6Svg)
31
32 BuildRequires: qttools6
33
34 %description
35 Library providing freedesktop.org specs implementations for Qt.
36
37 %files
38 %{_qt6_plugindir}/iconengines/libQt6XdgIconPlugin.so
39 %{_sysconfdir}/xdg/*.conf
40
41 #--------------------------------------------------------------------
42
43 %package -n %{libname}
44 Summary: Library providing freedesktop.org specs implementations for Qt
45 Group: System/Libraries
46
47 Requires: %name = %version-%release
48
49 %description -n %{libname}
50 Library providing freedesktop.org specs implementations for Qt.
51
52 %files -n %{libname}
53 %{_libdir}/libQt6Xdg.so.%{major}{,.*}
54
55 #--------------------------------------------------------------------
56
57 %package -n %{libloadername}
58 Summary: Library providing freedesktop.org specs implementations for Qt
59 Group: System/Libraries
60
61 %description -n %{libloadername}
62 Library providing freedesktop.org specs implementations for Qt.
63
64 %files -n %{libloadername}
65 %{_libdir}/libQt6XdgIconLoader.so.%{major}{,.*}
66
67 #--------------------------------------------------------------------
68
69 %package -n %{devname}
70 Summary: Development files for %{name}
71 Group: Development/C
72 Requires: %libname = %version
73 Requires: %libloadername = %version
74 Provides: %name-devel = %version-%release
75 Provides: lib%name-devel = %version-%release
76
77 %description -n %{devname}
78 Development files (Headers etc.) for %{name}, a library providing
79 freedesktop.org specs implementations for Qt.
80
81 %files -n %{devname}
82 %{_includedir}/*
83 %{_libdir}/libQt6Xdg.so
84 %{_libdir}/libQt6XdgIconLoader.so
85 %{_libdir}/pkgconfig/*.pc
86 %{_datadir}/cmake/qt6xdg
87 %{_datadir}/cmake/qt6xdgiconloader
88
89 #--------------------------------------------------------------------
90
91 %prep
92 %setup -q
93 %autopatch -p1
94
95 %build
96 %cmake_qt6 -DBUILD_TESTS=on
97 %cmake_build
98
99 %install
100 %cmake_install
101

  ViewVC Help
Powered by ViewVC 1.1.30