packages: binfmt-detector/binfmt-detector.spec - package upstart script
glen
glen at pld-linux.org
Thu Jul 21 12:38:51 CEST 2011
Author: glen Date: Thu Jul 21 10:38:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package upstart script
---- Files affected:
packages/binfmt-detector:
binfmt-detector.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: packages/binfmt-detector/binfmt-detector.spec
diff -u packages/binfmt-detector/binfmt-detector.spec:1.14 packages/binfmt-detector/binfmt-detector.spec:1.15
--- packages/binfmt-detector/binfmt-detector.spec:1.14 Sun Nov 22 10:48:23 2009
+++ packages/binfmt-detector/binfmt-detector.spec Thu Jul 21 12:38:46 2011
@@ -3,12 +3,13 @@
Summary(pl.UTF-8): Detector typu plików wykonywalnych PE Microsoftu
Name: binfmt-detector
Version: 0.2
-Release: 3
+Release: 4
License: GPL
Group: Base
Source0: http://team.pld-linux.org/~wolf/%{name}.tar.gz
# Source0-md5: d6e9d6d8888b58c97eb65875853fd778
Source1: %{name}.init
+Source2: binfmt-detector.upstart
Patch0: spelling.patch
Patch1: libdir.patch
BuildRequires: rpmbuild(macros) >= 1.268
@@ -49,12 +50,13 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/etc/{rc.d/init.d,init}}
install -p binfmt-detector $RPM_BUILD_ROOT%{_libdir}
install -p binfmt-detector.sh $RPM_BUILD_ROOT%{_bindir}/binfmt-detector
sed -i -e 's,/usr/lib,%{_libdir},' $RPM_BUILD_ROOT%{_bindir}/binfmt-detector
install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/binfmt-detector
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/init/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -72,9 +74,10 @@
%files
%defattr(644,root,root,755)
%doc README
-%attr(754,root,root) /etc/rc.d/init.d/binfmt-detector
-%attr(755,root,root) %{_bindir}/binfmt-detector
-%attr(755,root,root) %{_libdir}/binfmt-detector
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%attr(754,root,root) /etc/init/%{name}.conf
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -82,6 +85,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2011/07/21 10:38:46 glen
+- package upstart script
+
Revision 1.14 2009/11/22 09:48:23 glen
- don't trash bindir, move -cli to libdir; rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/binfmt-detector/binfmt-detector.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list