source: projects/specs/trunk/o/openrc-settingsd/openrc-settingsd-vl.spec @ 12005

Revision 12005, 1.8 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1%define pkg_version 1.0.1
2%define pkg_release 1%{?_dist_release}
3%define libdaemon_version 0.14
4
5Summary:      System settings D-Bus service for OpenRC
6Summary(ja):  D-Busシステム設定サービス
7Name:         openrc-settingsd
8Version:      %{pkg_version}
9Release:      %{pkg_release}
10Vendor:       Project Vine
11Distribution: Vine Linux
12
13License:      GPL2+
14Group:        System Environment/Base
15URL:          https://gitweb.gentoo.org/proj/openrc-settingsd.git/
16Source0:      https://dev.gentoo.org/~tetromino/distfiles/openrc-settingsd/openrc-settingsd-%{version}.tar.xz
17Source1:      libdaemon-%{libdaemon_version}.tar.gz
18Patch0:       openrc-settingsd-vine.patch
19
20BuildRequires: glib2-devel
21BuildRequires: dbus-devel
22BuildRequires: polkit-devel
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24
25%description
26 Implementation of systemd's settings interface (hostnamed, localed, timedated) for OpenRC
27
28%prep
29%setup -q -a 1
30%patch0 -p1 -b .vine
31ln -sf libdaemon-%{libdaemon_version} libdaemon
32
33%build
34autoreconf -ivf
35
36pushd libdaemon-%{libdaemon_version}
37%configure
38%{__make} %{?_smp_mflags}
39popd
40ln -sf libdaemon-%{libdaemon_version}/libdaemon/.libs/libdaemon.a ./
41
42%configure
43%{__make} %{?_smp_mflags}
44
45
46%install
47%{__rm} -rf %{buildroot}
48%{__make} install DESTDIR=%{buildroot}
49
50rm -rf %{buildroot}%{_sysconfdir}/conf.d
51rm -rf %{buildroot}%{_sysconfdir}/init.d
52
53
54%clean
55%{__rm} -rf ${RPM_BUILD_ROOT}
56
57
58%files
59%defattr(-,root,root)
60%license COPYING libdaemon/LICENSE
61%doc AUTHORS NEWS README
62%{_sysconfdir}/dbus-1/system.d/*
63%{_libexecdir}/*
64%{_datadir}/openrc-settingsd
65%{_datadir}/polkit-1/actions/*
66%{_datadir}/dbus-1/interfaces/*
67%{_datadir}/dbus-1/system-services/*
68%{_mandir}/man8/*
69
70
71%changelog
72* Fri Jan 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.1-1
73- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.