1 | %define SYSINFO_DISTRO vine |
---|
2 | |
---|
3 | Name: kio_sysinfo |
---|
4 | Summary: KIO slave which shows basic system information |
---|
5 | Version: 20090930 |
---|
6 | Release: 5%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://www.kde.org/ |
---|
11 | |
---|
12 | Source0: http://ktown.kde.org/~lukas/kio_sysinfo/%{name}-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: cmake |
---|
16 | BuildRequires: dbus-devel |
---|
17 | BuildRequires: gettext |
---|
18 | BuildRequires: giflib-devel |
---|
19 | BuildRequires: kdelibs4-devel |
---|
20 | BuildRequires: pcre-devel |
---|
21 | BuildRequires: soprano-devel |
---|
22 | |
---|
23 | %description |
---|
24 | This is a sysinfo:/ KIO slave, which shows basic system information often |
---|
25 | requested by users. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | |
---|
31 | %build |
---|
32 | mkdir -p %{_target_platform} |
---|
33 | pushd %{_target_platform} |
---|
34 | %cmake \ |
---|
35 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
36 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
37 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
38 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
39 | -DSYSINFO_DISTRO:STRING=%{SYSINFO_DISTRO} .. |
---|
40 | popd |
---|
41 | |
---|
42 | make %{?_smp_mflags} -C %{_target_platform} |
---|
43 | |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf %{buildroot} |
---|
47 | mkdir %{buildroot} |
---|
48 | make install DESTDIR=%{buildroot} -C %{_target_platform} |
---|
49 | |
---|
50 | %find_lang kio_sysinfo |
---|
51 | |
---|
52 | %clean |
---|
53 | rm -rf %{buildroot} |
---|
54 | |
---|
55 | |
---|
56 | %files -f kio_sysinfo.lang |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc README COPYING |
---|
59 | %{_libdir}/kde4/kio_sysinfo.so |
---|
60 | %{_libdir}/kde4/libksysinfopart.so |
---|
61 | %{_datadir}/applications/kde4/kfmclient_sysinfo.desktop |
---|
62 | %{_datadir}/kde4/apps/sysinfo/about/ |
---|
63 | %{_datadir}/kde4/services/ksysinfopart.desktop |
---|
64 | %{_datadir}/kde4/services/sysinfo.protocol |
---|
65 | %{_datadir}/mime/packages/x-sysinfo.xml |
---|
66 | |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 20090930-5 |
---|
70 | - rebuild with gcc-5.4.0 |
---|
71 | |
---|
72 | * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 20090930-4 |
---|
73 | - rebuilt on current VineSeed |
---|
74 | - fixed spec file not to load /etc/profile.d/qt4.sh |
---|
75 | |
---|
76 | * Sat Jun 2 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-3 |
---|
77 | - rebuilt with rpm-4.8.1-3 |
---|
78 | - added BR: soprano-devel |
---|
79 | |
---|
80 | * Sat Jul 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-2 |
---|
81 | - BR: kdelibs4-devel instead of kdelibs-devel |
---|
82 | |
---|
83 | * Sat Feb 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090930-1 |
---|
84 | - new upstream release |
---|
85 | |
---|
86 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 20090620-3 |
---|
87 | - Initial build for Vine Linux |
---|
88 | |
---|
89 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090620-2 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
91 | |
---|
92 | * Sat Jun 20 2009 Lukáš Tinkl <ltinkl@redhat.com> - 20090620-1 |
---|
93 | - new upstream version |
---|
94 | - drop patches |
---|
95 | - added battery status |
---|
96 | - updated translations |
---|
97 | |
---|
98 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090216-3 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
100 | |
---|
101 | * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-2 |
---|
102 | - gettext requires |
---|
103 | - conversion patch |
---|
104 | |
---|
105 | * Mon Feb 16 2009 Jaroslav Reznik <jreznik@redhat.com> 20090216-1 |
---|
106 | - owns about directory |
---|
107 | - new version |
---|
108 | |
---|
109 | * Wed Nov 21 2008 Jaroslav Reznik <jreznik@redhat.com> 20081121-1 |
---|
110 | - initial package |
---|
111 | - use SYSINFO_DISTRO |
---|