source: projects/specs/trunk/d/dockmanager/dockmanager-vl.spec @ 9177

Revision 9177, 2.6 KB checked in by inagaki, 8 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • MySQL-ruby, dockmanager, dracd, rxvt-unicode: rebuilt
  • docky, tomboy: added patch
  • gdl: changed Group
  • gdlmm: updated


Line 
1Summary:        dock-independent helper scripts
2Summary(ja):    ドック用ヘルパースクリプト
3Name:           dockmanager
4Version:        0.1.0
5Release:        3%{?_dist_release}
6
7License:        GPLv3
8Group:          System Environment/Daemons
9URL:            https://launchpad.net/dockmanager
10
11Source0:        %{name}-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  dbus-glib-devel
14BuildRequires:  glib2 >= 2.18.0
15BuildRequires:  libdesktop-agnostic-devel >= 0.3.9
16BuildRequires:  libdesktop-agnostic-bin >= 0.3.9
17Requires(pre):  GConf2
18Requires(post): GConf2
19Requires(preun):GConf2
20
21Distribution:   Vine Linux
22Vendor:         Project Vine
23Packager:       kazutaka
24
25%description
26This package contains dock-independent helper scripts, which add functionality
27to 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
48find $RPM_BUILD_ROOT/%{_prefix}/lib -name "*.la" -exec %{__rm} -f "{}" \;
49find $RPM_BUILD_ROOT/%{_prefix}/lib -name "*.a" -exec %{__rm} -f "{}" \;
50
51
52%clean
53%{__rm} -rf $RPM_BUILD_ROOT
54
55
56%pre
57# uninstall old schemas before update
58if [ "$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 ||:
62fi
63
64%post
65# install schemas after install/update
66export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
67gconftool-2 --makefile-install-rule \
68    %{_sysconfdir}/gconf/schemas/%{name}-daemon.schemas > /dev/null ||:
69
70%preun
71# uninstall schemas before clean remove
72if [ "$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;
76fi
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
91* Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.0-3
92- rebuilt on current VineSeed
93
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
99- initial build for Vine Linux
100
Note: See TracBrowser for help on using the repository browser.