Before I attempt to sr it again, please tell me if this spec is good:

Name:          meego-ux-mediafs
Summary:       Indexer and thumbnailer daemon for MeeGo
Version:       0.0.1
Release:       1
Group:         Applications/Multimedia
URL:           http://www.meego.com
License:       Apache 2.0
Source0:       %{name}-%{version}.tar.bz2
Source1:       %{name}.conf
BuildRequires: cmake fuse-devel ImageMagick-devel file-devel gstreamer-devel 
glib2-devel

%description
Thumbnailing engine for meego, installs a fuse filesystem mount
over the home user's media directories and processes thumbnails
as files are copied. The extraction time is added to the copy time.

%prep
%setup -q

%build
cmake .
make

%install
mkdir -p -m755 $RPM_BUILD_ROOT%{_bindir}
install -m755 %{name}d $RPM_BUILD_ROOT%{_bindir}/
mkdir -p -m755 $RPM_BUILD_ROOT%{_libdir}/%{name}/readers
install -m755 libplugin-*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/readers/

install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m755 %{name} $RPM_BUILD_ROOT/etc/rc.d/init.d/
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/

%post
/sbin/chkconfig --add meego-ux-mediafs
if ! cat /etc/fuse.conf | grep -qw user_allow_other; then
        echo "user_allow_other" >> /etc/fuse.conf
fi

%preun
if [ -f /etc/init.d/meego-ux-mediafs ]; then
        /sbin/service meego-ux-mediafs stop > /dev/null 2>&1 || :
        /sbin/service meego-ux-mediafs restore > /dev/null 2>&1 || :
fi
/sbin/chkconfig --del meego-ux-mediafs

%files
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/%{name}d
%attr(0755,root,root) /etc/rc.d/init.d/%{name}
%attr(0644,root,root) %{_sysconfdir}/%{name}.conf
%attr(0755,root,root) %{_libdir}/%{name}/*


________________________________________
From: Arjan van de Ven [[email protected]]
Sent: Monday, June 20, 2011 11:59 AM
To: [email protected]
Cc: [email protected]; Brandt, Todd E
Subject: Re: [meego-commits] 21197: New package 
MeeGo:1.2:oss:Testing/meego-ux-mediafs

On 6/20/2011 11:14 AM, Todd Brandt wrote:
>      - /usr/bin/%{name}d
>      - /etc/init.d/%{name}
>      - /etc/%{name}.conf
>      - /usr/lib/%{name}/*
>      - /etc/rc0.d/K76%{name}
>      - /etc/rc1.d/K76%{name}
>      - /etc/rc2.d/K76%{name}
>      - /etc/rc6.d/K76%{name}
>      - /etc/rc3.d/S26%{name}
>      - /etc/rc4.d/S26%{name}
>      - /etc/rc5.d/S26%{name}
>


same objection as last time

this is fundamentally broken and completely invalid

please fix.

_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to