]> git.pld-linux.org Git - packages/liblxqt.git/blame - liblxqt.spec
- updated to 0.10.0
[packages/liblxqt.git] / liblxqt.spec
CommitLineData
953d8fef
WF
1#
2# Conditional build:
3#
1af93ea3 4%define qtver 5.5.1
953d8fef
WF
5
6Summary: lxqt - libraries
7Summary(pl.UTF-8): lxqt - biblioteki
8Name: liblxqt
1af93ea3
WF
9Version: 0.10.0
10Release: 1
953d8fef
WF
11License: LGPL
12Group: X11/Libraries
1af93ea3
WF
13Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
14# Source0-md5: 3856e2e690612c5564dc52f5b570a438
15Patch0: lxqt_share_dir.patch
953d8fef 16URL: http://www.lxqt.org/
e8dc8a2e 17BuildRequires: qt5-build >= %{qtver}
18BuildRequires: Qt5Core-devel >= %{qtver}
19BuildRequires: Qt5DBus-devel >= %{qtver}
20BuildRequires: Qt5Gui-devel >= %{qtver}
21BuildRequires: Qt5Gui-platform-directfb >= %{qtver}
22BuildRequires: Qt5Gui-platform-egl >= %{qtver}
1af93ea3
WF
23BuildRequires: Qt5Gui-platform-eglfs-kms >= %{qtver}
24BuildRequires: Qt5X11Extras-devel >= %{qtver}
e8dc8a2e 25BuildRequires: Qt5Xml-devel >= %{qtver}
953d8fef 26BuildRequires: cmake >= 2.8.3
1af93ea3 27BuildRequires: kf5-kwindowsystem-devel
e8dc8a2e 28BuildRequires: libqtxdg-devel >= 1.0.0
953d8fef
WF
29BuildRequires: xz-devel
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33lxqt - libraries.
34
35%package devel
36Summary: liblxqt - header files and development documentation
37Summary(pl.UTF-8): liblxqt - pliki nagłówkowe i dokumentacja do lxqt
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
e8dc8a2e 40Requires: Qt5Core-devel >= %{qtver}
41Requires: Qt5DBus-devel >= %{qtver}
42Requires: Qt5Gui-devel >= %{qtver}
43Requires: Qt5Xml-devel >= %{qtver}
953d8fef
WF
44
45%description devel
46This package contains header files and development documentation for
47lxqt.
48
49%description devel -l pl.UTF-8
50Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy
51pisaniu własnych programów wykorzystujących lxqt.
52
53%prep
e8dc8a2e 54%setup -q
1af93ea3 55%patch0 -p1
953d8fef
WF
56
57%build
58install -d build
59cd build
60%cmake \
1af93ea3 61 ../
953d8fef
WF
62
63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} -C build install \
69 DESTDIR=$RPM_BUILD_ROOT
70
1af93ea3
WF
71%find_lang %{name} --with-qm
72
953d8fef
WF
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
1af93ea3 79%files -f %{name}.lang
953d8fef 80%defattr(644,root,root,755)
1af93ea3
WF
81%dir %{_datadir}/lxqt
82%dir %{_datadir}/lxqt/translations
83%dir %{_datadir}/lxqt/translations/liblxqt
84%attr(755,root,root) %{_libdir}/liblxqt.so.*.*.*
85%ghost %{_libdir}/liblxqt.so.0
953d8fef
WF
86
87%files devel
88%defattr(644,root,root,755)
1af93ea3
WF
89%{_includedir}/lxqt
90%{_libdir}/liblxqt.so
91%{_pkgconfigdir}/lxqt.pc
92%{_datadir}/cmake/lxqt
This page took 0.081201 seconds and 4 git commands to generate.