]> git.pld-linux.org Git - packages/conman.git/blobdiff - conman.spec
- up to 0.2.7
[packages/conman.git] / conman.spec
index 6987c8685fd8c9f3f7bc3acaa07da5e9c109b7ab..29e3c7efbc907c7b50d48fa6e165820e16175942 100644 (file)
@@ -1,19 +1,22 @@
 Summary:       The Console Manager
 Summary:       The Console Manager
-Summary(pl):   Zarz±dca konsol
+Summary(pl.UTF-8):     Zarządca konsol
 Name:          conman
 Name:          conman
-Version:       0.1.9.2
+Version:       0.2.7
 Release:       1
 License:       GPL
 Group:         Daemons
 Release:       1
 License:       GPL
 Group:         Daemons
-Source0:       http://download.gna.org/conman/0.1.9.2/%{name}-%{version}.tar.bz2
-# Source0-md5: 8e737e64ae3dfac37bd93df38ac0f6cb
+Source0:       https://github.com/dun/conman/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 00316e7340e4741d5d38dcb952fb1e83
 Source1:       %{name}d.init
 Source2:       %{name}d.sysconfig
 Source3:       %{name}.logrotate
 Source1:       %{name}d.init
 Source2:       %{name}d.sysconfig
 Source3:       %{name}.logrotate
-URL:           http://home.gna.org/conman/
+Patch0:                fhs.patch
+URL:           http://dun.github.io/conman/
 BuildRequires: libwrap-devel
 BuildRequires: libwrap-devel
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,preun):  /sbin/ldconfig
 Requires:      rc-scripts
 Requires(post,preun):  /sbin/ldconfig
 Requires:      rc-scripts
+Conflicts:     logrotate < 3.7-4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,14 +25,15 @@ number of console devices and simultaneous users. It currently
 supports local serial devices and remote terminal servers (via the
 telnet protocol).
 
 supports local serial devices and remote terminal servers (via the
 telnet protocol).
 
-%description -l pl
-ConMan to program do zarz±dzania konsolami zaprojektowany do obs³ugi
-du¿ej liczby urz±dzeñ konsolowych i jednoczesnych u¿ytkowników.
-Aktualnie obs³uguje lokalne urz±dzenia szeregowe i zdalne serwery
-terminali (poprzez protokó³ telnet).
+%description -l pl.UTF-8
+ConMan to program do zarządzania konsolami zaprojektowany do obsługi
+dużej liczby urządzeń konsolowych i jednoczesnych użytkowników.
+Aktualnie obsługuje lokalne urządzenia szeregowe i zdalne serwery
+terminali (poprzez protokół telnet).
 
 %prep
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{name}-%{version}
+%patch0 -p1
 
 %build
 %configure \
 
 %build
 %configure \
@@ -50,7 +54,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/conmand
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/conmand
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/conmand
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/conmand
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/conmand
 
-rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/examples
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/examples
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,11 +74,11 @@ fi
 %doc AUTHORS ChangeLog FAQ NEWS
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
 %doc AUTHORS ChangeLog FAQ NEWS
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
-%{_libdir}/%{name}
+%{_datadir}/%{name}
 %dir %{_var}/log/conman
 %{_mandir}/man*/*
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
 %attr(754,root,root) /etc/rc.d/init.d/conmand
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/conmand
 %dir %{_var}/log/conman
 %{_mandir}/man*/*
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
 %attr(754,root,root) /etc/rc.d/init.d/conmand
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/conmand
-/etc/logrotate.d/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
This page took 0.057922 seconds and 4 git commands to generate.