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