[3005] | 1 | Summary: dock-independent helper scripts |
---|
| 2 | Summary(ja): ドック用ヘルパースクリプト |
---|
| 3 | Name: dockmanager |
---|
| 4 | Version: 0.1.0 |
---|
[9177] | 5 | Release: 3%{?_dist_release} |
---|
| 6 | |
---|
[3005] | 7 | License: GPLv3 |
---|
[9177] | 8 | Group: System Environment/Daemons |
---|
[3005] | 9 | URL: https://launchpad.net/dockmanager |
---|
| 10 | |
---|
[9177] | 11 | Source0: %{name}-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: dbus-glib-devel |
---|
[3005] | 14 | BuildRequires: glib2 >= 2.18.0 |
---|
| 15 | BuildRequires: libdesktop-agnostic-devel >= 0.3.9 |
---|
| 16 | BuildRequires: libdesktop-agnostic-bin >= 0.3.9 |
---|
| 17 | Requires(pre): GConf2 |
---|
| 18 | Requires(post): GConf2 |
---|
| 19 | Requires(preun):GConf2 |
---|
| 20 | |
---|
[9177] | 21 | Distribution: Vine Linux |
---|
| 22 | Vendor: Project Vine |
---|
[3005] | 23 | Packager: kazutaka |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This package contains dock-independent helper scripts, which add functionality |
---|
| 27 | to any dock implementing the DockManager DBus interface specification. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | このパッケージには、DockManager DBus インターフェーススペックに準拠した |
---|
| 31 | ドックで利用できるヘルパースクリプトが含まれます。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | %configure --enable-shared \ |
---|
| 38 | --disable-static \ |
---|
| 39 | --disable-debug |
---|
| 40 | %{__make} %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 45 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 46 | |
---|
| 47 | # remove unnecessary files |
---|
[3440] | 48 | find $RPM_BUILD_ROOT/%{_prefix}/lib -name "*.la" -exec %{__rm} -f "{}" \; |
---|
| 49 | find $RPM_BUILD_ROOT/%{_prefix}/lib -name "*.a" -exec %{__rm} -f "{}" \; |
---|
[3005] | 50 | |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %pre |
---|
| 57 | # uninstall old schemas before update |
---|
| 58 | if [ "$1" -gt 1 ]; then |
---|
| 59 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 60 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 61 | %{_sysconfdir}/gconf/schemas/%{name}-daemon.schemas > /dev/null ||: |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | %post |
---|
| 65 | # install schemas after install/update |
---|
| 66 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 67 | gconftool-2 --makefile-install-rule \ |
---|
| 68 | %{_sysconfdir}/gconf/schemas/%{name}-daemon.schemas > /dev/null ||: |
---|
| 69 | |
---|
| 70 | %preun |
---|
| 71 | # uninstall schemas before clean remove |
---|
| 72 | if [ "$1" -eq 0 ]; then |
---|
| 73 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 74 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 75 | %{_sysconfdir}/gconf/schemas/%{name}-daemon.schemas > /dev/null; |
---|
| 76 | fi |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %files |
---|
| 80 | %defattr(-,root,root) |
---|
| 81 | %doc AUTHORS COPYING |
---|
| 82 | %{_sysconfdir}/gconf/schemas/%{name}-daemon.schemas |
---|
| 83 | %{_bindir}/%{name}-settings |
---|
| 84 | %{_libexecdir}/%{name}-daemon |
---|
| 85 | %{python_sitelib}/%{name} |
---|
| 86 | %{_datadir}/dbus-1/services/%{name}.service |
---|
| 87 | %{_datadir}/%{name} |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %changelog |
---|
[9177] | 91 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.0-3 |
---|
| 92 | - rebuilt on current VineSeed |
---|
| 93 | |
---|
[3440] | 94 | * Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.0-2 |
---|
| 95 | - fixed remove files path |
---|
| 96 | - fixed changelog typo |
---|
| 97 | |
---|
| 98 | * Sun Jan 23 2005 Kazutaka HARADA <kazutaka@vinelinux.org> 0.1.0-1 |
---|
[3005] | 99 | - initial build for Vine Linux |
---|
[3440] | 100 | |
---|