-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcmanfm-qt.spec
196 lines (142 loc) · 6.54 KB
/
pcmanfm-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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
Name: pcmanfm-qt
Version: 0.13.0
Release: 4%{?dist}
Summary: LxQt file manager PCManFM
License: GPLv2+
URL: http://lxqt.org
Source0: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Patch1: 0001-Customize-default-appearance.patch
BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0
BuildRequires: pkgconfig(lxqt) >= 0.13.0
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5X11Extras)
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(libmenu-cache)
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(libfm-qt)
BuildRequires: desktop-file-utils
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: libexif-devel
Requires: desktop-backgrounds-compat
Obsoletes: pcmanfm-qt5 < 0.9.0
Provides: pcmanfm-qt5 = %{version}-%{release}
Obsoletes: pcmanfm-qt4 <= 0.9.0
Obsoletes: pcmanfm-qt-common <= 0.9.0
# gvfs is optional depencency at runtime, so we add a weak dependency here
Recommends: gvfs
# configuration patched to use qterminal instead as the default terminal emulator but allow to use others
Recommends: qterminal
%description
%{summary}
%prep
%autosetup -p1
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_lxqt} -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%post
/usr/bin/update-desktop-database &> /dev/null || :
%postun
/usr/bin/update-desktop-database &> /dev/null || :
%files
%doc AUTHORS
%{_bindir}/pcmanfm-qt
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-desktop-pref.desktop
%{_docdir}/pcmanfm-qt
%{_mandir}/man1/pcmanfm-qt.*
%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
%{_datadir}/pcmanfm-qt/lxqt/settings.conf
%changelog
* Fri Nov 30 2018 Vaughan <devel at agrez dot net> - 0.13.0-4
- Drop desktop entry modifications
* Sat Sep 01 2018 Raphael Groner <[email protected]> - 0.13.0-3
- allow alternative terminal emulator by weak dependency
* Sun Aug 26 2018 Zamir SUN <[email protected]> - 0.13.0-2
- Customize default appearance
* 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.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Feb 08 2018 Fedora Release Engineering <[email protected]> - 0.11.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 0.11.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 0.11.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat May 20 2017 Christian Dersch <[email protected]> - 0.11.3-5
- recommend gvfs
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.11.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 19 2017 Christian Dersch <[email protected]> - 0.11.3-3
- rebuilt
* Wed Jan 18 2017 Christian Dersch <[email protected]> - 0.11.3-2
- moved translations to lxqt-l10n
* Mon Jan 16 2017 Christian Dersch <[email protected]> - 0.11.3-1
- new version
* Mon Sep 26 2016 Helio Chissini de Castro <[email protected]> - 0.11.1-1
- new upstream version.
- pcmanfm-qt not provides linfm anymore, comes from an external package
* Tue Jul 26 2016 Helio Chissini de Castro <[email protected]> - 0.10.0-4
- Make it available for other desktops
- Reference https://bugzilla.redhat.com/show_bug.cgi?id=1347905
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 0.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Dec 13 2015 Helio Chissini de Castro <[email protected]> - 0.10.0-2
- Prepare to use new cmake infra for epel
* Mon Nov 02 2015 Helio Chissini de Castro <[email protected]> - 0.10.0-1
- New upstream version
* Wed Jun 24 2015 Rex Dieter <[email protected]> - 0.9.0-10
- rebuild (exiv2)
* Thu Jun 18 2015 Fedora Release Engineering <[email protected]> - 0.9.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <[email protected]> - 0.9.0-8
- Rebuilt for GCC 5 C++11 ABI change
* Wed Mar 04 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-7
- Add provides for pcmanfm-qt5 to avoid older comps lxqt break
* Wed Feb 25 2015 Mamoru TASAKA <[email protected]> - 0.9.0-6
- Fix directory ownership
* Wed Feb 18 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-5
- Fix duplicated files caused for qm template
* Fri Feb 13 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-4
- Ownership of share/pcmanfm-qt directories
- libfm-qt5 alnguage files added
- Obsoletes libfm-qt4-devel
- Moved COPYING to the new tag license
* Mon Feb 09 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-2
- Fixed download dir
* Sun Feb 08 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-1
- New upstream release 0.9.0
* Tue Feb 03 2015 Helio Chissini de Castro <[email protected]> - 0.9.0-0.1
- Preparing for 0.9.0 release
- Obsoletes pcmanfm-qt5 and pcmanfm-qt-common packages as no more qt4 versions will be done
* Tue Nov 4 2014 Mamoru TASAKA <[email protected]> - 0.8.0-2
- Support both Qt4 and Qt5, default to Qt5 for F-22
* Tue Nov 4 2014 Mamoru TASAKA <[email protected]> - 0.8.0-1
- 0.8.0
* Sun Aug 17 2014 Fedora Release Engineering <[email protected]> - 0.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 06 2014 Fedora Release Engineering <[email protected]> - 0.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Feb 11 2014 Mamoru TASAKA <[email protected]> - 0.1.0-5
- Apply git patch for libfm API change
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 0.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Apr 8 2013 Mamoru TASAKA <[email protected]> - 0.1.0-3
- Use -DCMAKE_BUILD_TYPE=Release option for cmake
* Mon Apr 1 2013 Mamoru TASAKA <[email protected]> - 0.1.0-2
- Call update-desktop-database
- Use make soversion specific in %%files
* Mon Apr 1 2013 Mamoru TASAKA <[email protected]> - 0.1.0-1
- Initial packaging