Tomohiro "Tomo-p" KATO před 5 roky
rodič
revize
a72a6d7822
1 změnil soubory, kde provedl 29 přidání a 10 odebrání
  1. 29 10
      e/elogind/elogind-vl.spec

+ 29 - 10
e/elogind/elogind-vl.spec

@@ -1,12 +1,5 @@
 %define pkg_version 239.3
-%define pkg_release 1%{?_dist_release}
-
-%define _unpackaged_files_terminate_build 1
-
-%global _vpath_srcdir .
-%global _vpath_builddir build
-%global __global_cflags %{optflags}
-%global __global_ldflags ""
+%define pkg_release 2%{?_dist_release}
 
 Name:         elogind
 Summary:      The systemd project's "logind", extracted to a standalone package
@@ -31,6 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires: util-linux
 Requires: polkit
 Requires: dbus
+Requires: elogind-libs = %{version}-%{release}
 
 BuildRequires: meson
 BuildRequires: ninja
@@ -43,6 +37,8 @@ BuildRequires: eudev-libudev-devel
 BuildRequires: pam-devel
 BuildRequires: pkgconfig
 BuildRequires: python3-devel
+BuildRequires: libxslt
+BuildRequires: docbook-style-xsl
 
 %description
 elogind is the systemd project's logind, extracted to a standalone package. It's designed for users who prefer a non-systemd init system, but still want to use popular software such as KDE/Wayland or GNOME that otherwise hard-depends on systemd. 
@@ -52,11 +48,23 @@ elogind is the systemd project's logind, extracted to a standalone package. It's
 systemdを利用していないシステム上で、KDE、Wayland、GNOMEのようにsystemd
 に強く依存しているソフトウェアを使用したいユーザのために設計されています。
 
+%package libs
+Summary:     shared libraries for elogind
+Summary(ja): eloginのための共有ライブラリファイル
+Group:       Development/Libraries
+
+%description libs
+ This package contains shared libraries for elogind
+
+%description libs -l ja
+ このパッケージにはeloginを用いた開発のための共有ライブラリファイル
+が含まれています。
+
 %package devel
 Summary:     headers and libraries for elogind
 Summary(ja): eloginを用いた開発のためのヘッダ・ライブラリファイル
 Group:       Development/Libraries
-Requires:    elogind = %{version}-%{release}
+Requires:    elogind-libs = %{version}-%{release}
 
 %description devel
  This package contains headers and libraries for elogind
@@ -112,7 +120,6 @@ export LANG=ja_JP.UTF-8
 %{_bindir}/*
 /lib/elogind
 /lib/udev/rules.d/*
-/%{_lib}/*.so.*
 /%{_lib}/security/*
 %{_datadir}/dbus-1/system-services/*
 %{_datadir}/dbus-1/system.d/*
@@ -122,13 +129,25 @@ export LANG=ja_JP.UTF-8
 %dir %{_datadir}/bash-completion
 %dir %{_datadir}/bash-completion/completions
 %{_datadir}/bash-completion/completions/*
+%{_mandir}/man1/*
+%{_mandir}/man5/*
+%{_mandir}/man7/*
+%{_mandir}/man8/*
+
+%files libs
+/%{_lib}/*.so.*
 
 %files devel
 %defattr(-,root,root)
 %{_libdir}/libelogind.so
 %{_includedir}/elogind
 %{_libdir}/pkgconfig/libelogind.pc
+%{_mandir}/man3/*
 
 %changelog
+* Wed Jan 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 239.3-2
+- separated libs.
+- built manuals.
+
 * Sun Dec 16 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 239.3-1
 - initial build for Vine Linux.