]> git.pld-linux.org Git - packages/libsysstat.git/blob - libsysstat.spec
- updated to 0.3.1
[packages/libsysstat.git] / libsysstat.spec
1 %define         qtver           5.3.1
2
3 Summary:        libsysstat
4 Name:           libsysstat
5 Version:        0.3.1
6 Release:        1
7 License:        GPLv2 and LGPL-2.1+
8 Group:          X11/Libraries
9 Source0:        http://downloads.lxqt.org/libsysstat/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  8513824b127fd1bdcd0ec32f4ba790d6
11 URL:            http://www.lxqt.org/
12 BuildRequires:  Qt5Core-devel >= %{qtver}
13 BuildRequires:  Qt5Gui-devel >= %{qtver}
14 BuildRequires:  Qt5Xml-devel >= %{qtver}
15 BuildRequires:  cmake >= 2.8.3
16 BuildRequires:  xz-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 libsysstat.
21
22 %package devel
23 Summary:        libsysstat - header files and development documentation
24 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do libsysstat
25 Group:          X11/Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27 Requires:       Qt5Core-devel >= %{qtver}
28 Requires:       Qt5Gui-devel >= %{qtver}
29 Requires:       Qt5Xml-devel >= %{qtver}
30 Obsoletes:      razor-qt-devel
31
32 %description devel
33 This package contains header files and development documentation for
34 libsysstat.
35
36 %description devel -l pl.UTF-8
37 Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy
38 pisaniu własnych programów wykorzystujących libsysstat.
39
40 %prep
41 %setup -q
42
43 %build
44 install -d build
45 cd build
46 %cmake \
47         ../
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} -C build install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %files
64 %defattr(644,root,root,755)
65 %ghost %{_libdir}/libsysstat-qt5.so.0
66 %attr(755,root,root) %{_libdir}/libsysstat-qt5.so.*.*.*
67
68 %files devel
69 %defattr(644,root,root,755)
70 %{_includedir}/sysstat-qt5
71 %{_libdir}/libsysstat-qt5.so
72 %{_pkgconfigdir}/sysstat-qt5.pc
73 %{_datadir}/cmake/sysstat-qt5
This page took 0.092163 seconds and 3 git commands to generate.