Search
j0ke.net Open Build Service
>
Projects
>
server:messaging
>
sms-server-tools3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 14
[-]
[+]
Changed
smstools.spec
@@ -1,6 +1,6 @@ Name: smstools %define smsname %{name}3 -Summary: The SMS Server Tools send and receive short messages through GSM modems or mobile phones. +Summary: The SMS Server Tools send and receive short messages through GSM Version: 3.1.14 Release: 1 Source0: %{smsname}-%{version}.tar.bz2 @@ -12,6 +12,7 @@ Group: Applications/Communications Url: http://smstools3.kekekasvi.com/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: logrotate BuildRequires: mm-devel @@ -54,10 +55,18 @@ %{__install} -m 644 %{S:1} %{buildroot}/%{_sysconfdir}/logrotate.d/smstools %{__mv} doc html chmod +x html examples +find html -type f -exec chmod 644 {} \; +find examles -type f -exec chmod 644 {} \; cd %{buildroot}/%{_sbindir} ln -s ../../%{_sysconfdir}/init.d/smstools rcsmstools rm -f %{buildroot}/etc/init.d/sms3 +%preun +%stop_on_removal + +%postun +%insserv_cleanup + %files %defattr(-,root,root) %doc LICENSE README @@ -72,7 +81,7 @@ %{_sbindir}/rcsmstools %defattr(0644,root,root) %config(noreplace) %{_sysconfdir}/smsd.conf -%{_sysconfdir}/logrotate.d/smstools +%config %{_sysconfdir}/logrotate.d/smstools %changelog * Sat Jan 10 2009 Carsten Schoene <cs@linux-administrator.com> - 3.1.3