X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gammu.spec;h=cebece20823e7b82defed6ff4c5a5c17065abadd;hb=c4b587a2abed1893acedbd2ffba9332fb7250a43;hp=40307d0916b4192ae49f4473777f65c2172f0759;hpb=836fe380f5e7fdaed1f26408686674c75b0296f7;p=packages%2Fgammu.git diff --git a/gammu.spec b/gammu.spec index 40307d0..cebece2 100644 --- a/gammu.spec +++ b/gammu.spec @@ -1,15 +1,16 @@ Summary: Tool suite for mobile phones Summary(pl.UTF-8): Zestaw narzędzi do telefonów komórkowych Name: gammu -Version: 1.30.0 -Release: 1 +Version: 1.31.0 +Release: 2 Epoch: 1 License: GPL v2+ Group: Applications/Communications Source0: http://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.xz -# Source0-md5: 3b76973d0c398519a876d203926420a6 +# Source0-md5: 6983485c0ad0873f028da6c6e2039fa7 Source1: %{name}-smsd.init Source2: %{name}-smsd.sysconfig +Source3: %{name}.tmpfiles Patch0: %{name}-etc_dir.patch Patch1: %{name}-werror.patch URL: http://www.gammu.org/ @@ -155,7 +156,8 @@ mv smsd/libgsmsd.a .. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version}} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_examplesdir}/%{name}-%{version}} \ + $RPM_BUILD_ROOT/usr/lib/tmpfiles.d %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT @@ -171,6 +173,8 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}-smsd install -d $RPM_BUILD_ROOT/%{_varrun}/%{name}-smsd install -d $RPM_BUILD_ROOT/%{_sharedstatedir}/%{name}-smsd +install %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf + %find_lang %{name} %find_lang libgammu @@ -224,6 +228,7 @@ fi %attr(754,root,root) /etc/rc.d/init.d/%{name}-smsd %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-smsd %{_sysconfdir}/%{name}-smsd +/usr/lib/tmpfiles.d/%{name}.conf %attr(750,root,gammu-smsd) %{_varrun}/%{name}-smsd %attr(750,gammu-smsd,gammu-smsd) %{_sharedstatedir}/%{name}-smsd