-
Notifications
You must be signed in to change notification settings - Fork 0
/
libfm-qt.spec
154 lines (112 loc) · 4.6 KB
/
libfm-qt.spec
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
Name: libfm-qt
Version: 0.13.1
Release: 5%{?dist}
Summary: Companion library for PCManFM
License: GPLv2+
URL: http://lxqt.org
Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: libfm-qt-0.13.1-check-if-app-exists-before-opening.patch
Patch1: libfm-qt-0.13.1-fix-smb-error.patch
Patch2: libfm-qt-0.13.1-correctly-handle-mountable-types.patch
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libfm)
BuildRequires: pkgconfig(lxqt) >= 0.13.0
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: pkgconfig(libmenu-cache) >= 0.3.0
BuildRequires: libexif-devel
Requires: menu-cache-devel
Obsoletes: libfm-qt5 < 0.11.0
Obsoletes: libfm-qt4 <= 0.9.0
Obsoletes: libfm-qt-common <= 0.9.0
Provides: libfm-qt5 = %{version}
%description
Libfm-Qt is a companion library providing components to build
desktop file managers.
%package devel
Summary: Development files for libfm-qt
Requires: libfm-qt%{?_isa} = %{version}-%{release}
Obsoletes: libfm-qt-devel <= 0.9.0
Obsoletes: libfm-qt5-devel < 0.11.0
Obsoletes: libfm-qt4-devel <= 0.9.0
Provides: libfm-qt5-devel = %{version}
%description devel
libfm-qt-devel package contains libraries and header files for
developing applications that use libfm-qt.
%prep
%autosetup -p1
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_lxqt} -DPULL_TRANSLATIONS=NO ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
# We need fix this upstream
find %{buildroot} -size 0 -delete
%files
%doc AUTHORS
%{_libdir}/libfm-qt.so.5*
%files devel
%{_libdir}/libfm-qt.so
%{_libdir}/pkgconfig/libfm-qt.pc
%{_includedir}/libfm-qt/
%dir %{_datadir}/cmake/fm-qt
%{_datadir}/cmake/fm-qt/*
%{_datadir}/libfm-qt/archivers.list
%{_datadir}/libfm-qt/terminals.list
%{_datadir}/mime/packages/libfm-qt-mimetypes.xml
%changelog
* Mon Jan 14 2019 Vaughan Agrez <devel at agrez dot net> - 0.13.1-5
- Rebuild against updated qt5 libs
* Fri Nov 30 2018 Vaughan Agrez <devel at agrez dot net> - 0.13.1-4
- Fix segfault when browsing a network share (Patches 0-3). Refer:
https://github.com/lxqt/pcmanfm-qt/issues/693om/lxqt/libfm-qt/pull/210
* Fri Sep 21 2018 Jan Grulich <[email protected]> - 0.13.1-2
- rebuild (qt5)
* Thu Aug 09 2018 Zamir SUN <[email protected]> - 0.13.1-1
- Update to 0.13.1
* Fri Aug 03 2018 Zamir SUN <[email protected]> - 0.13.0-2
- Add menu-cache-devel as Require, otherwise cmake report 'Imported target "fm-qt" includes non-existent path'
* Fri Aug 03 2018 Zamir SUN <[email protected]> - 0.13.0-1
- Update to version 0.13.0
* Fri Jul 13 2018 Fedora Release Engineering <[email protected]> - 0.11.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 21 2018 Rex Dieter <[email protected]> - 0.11.2-13
- rebuild (qt5)
* Sun May 27 2018 Rex Dieter <[email protected]> - 0.11.2-12
- rebuild (qt5)
* Wed Feb 14 2018 Jan Grulich <[email protected]> - 0.11.2-11
- rebuild (qt5)
* Wed Feb 07 2018 Fedora Release Engineering <[email protected]> - 0.11.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 01 2018 Rex Dieter <[email protected]> - 0.11.2-9
- rebuild (qt5)
* Sun Nov 26 2017 Rex Dieter <[email protected]> - 0.11.2-8
- rebuild (qt5)
* Wed Oct 11 2017 Rex Dieter <[email protected]> - 0.11.2-7
- BR: qt5-qtbase-private-devel
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 0.11.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <[email protected]> - 0.11.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <[email protected]> - 0.11.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 19 2017 Christian Dersch <[email protected]> - 0.11.2-3
- rebuilt
* Wed Jan 18 2017 Christian Dersch <[email protected]> - 0.11.2-2
- moved translations to lxqt-l10n
* Mon Jan 16 2017 Christian Dersch <[email protected]> - 0.11.2-1
- new version
* Thu Sep 29 2016 Helio Chissini de Castro <[email protected]> - 0.11.1-2
- Fix some rpmlint errors
* Mon Sep 26 2016 Helio Chissini de Castro <[email protected]> - 0.11.1-1
New package splitted from main pcmanfm-qt