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