Spec URL: http://vicodan.fedorapeople.org/matespec/mate-notification-daemon.spec SRPM URL: http://vicodan.fedorapeople.org/materpms/srpms/mate-notification-daemon-1.4.0-1.fc17.src.rpm Description: Notification daemon for MATE Desktop
naming: ok 1. SHOULD move NOCONFIGURE=1 ./autogen.sh to %setup section 2. MUST not use undefined macro %po_package, either define it or use %{name} instead 3. SHOULD add Provides: desktop-notification-daemon (assuming it provides dbus service org.freedesktop.Notifications like kde's knotify or gnome's notification-daemon) 4. SHOULD consider dropping -libs subpkg, I don't see any shared libraries in use here, so %files libs %{_libdir}/mate-notification-daemon/ could probably just be folded into the main package. licensing: ok sources: ok md5sum *.xz 83956e38caeec78634af379abc1b5787 mate-notification-daemon-1.4.0.tar.xz scriptlets: ok
Fixed. Spec URL: http://vicodan.fedorapeople.org/matespec/mate-notification-daemon.spec SRPM URL: http://vicodan.fedorapeople.org/materpms/srpms/mate-notification-daemon-1.4.0-2.fc17.src.rpm
Noticed some small errors in scriptlets now too (sorry): %pre %gconf_schema_prepare %{buildroot}/%{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %post -p /sbin/ldconfig /usr/bin/update-desktop-database &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null || : %gconf_schema_upgrade %{buildroot}/%{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %postun -p /sbin/ldconfig /usr/bin/update-desktop-database &>/dev/null || : %gconf_schema_remove %{buildroot}/%{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : should be (something like): %pre %gconf_schema_prepare %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %post /usr/bin/update-desktop-database &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null || : %gconf_schema_upgrade %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %postun /usr/bin/update-desktop-database &>/dev/null || : %gconf_schema_remove %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : please fix that prior to submitting any builds. APPROVED.
Fixed that. Thanks Rex.
New Package SCM Request ======================= Package Name: mate-notification-daemon Short Description: Notification daemon for MATE Desktop Owners: vicodan rdieter raveit65 Branches: f16 f17 18 InitialCC:
You use wrong provides. Provides: desktop-notification-daemon A provide with the same name as the package itself makes no sense. Pls, use instead this provides before you import. This is important for a working desktop. Provides: mate-notification-daemon-engine-slider%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-nodoka%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-coco%{?_isa} = %{version}-%{release}
I used this provides as per Rex's suggestion.
(In reply to comment #7) > I used this provides as per Rex's suggestion. Than use Provides: desktop-notification-daemon Provides: mate-notification-daemon-engine-slider%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-nodoka%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-coco%{?_isa} = %{version}-%{release} Doing someting double is in this case not wrong. ;) This you can also fix. desktop-file-install \ --remove-category="MATE" \ --add-category="X-Mate" \ --remove-only-show-in="MATE" \ --add-only-show-in="X-MATE" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/mate-notification-properties.desktop Here you can remove --add-category="X-Mate" because we don't need category desktop anymore. see https://bugs.freedesktop.org/show_bug.cgi?id=52493 I talked with Steve Zech from upstream about this, he agree with that. Note: this package can't update a package from my repo with old scriplet style. I tested this aboout 40 hours the last week, with help from Leigh Scott. {_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas wouldn't be writen correct or not at all in user mateconf directory. It is impossible. Sorry So no need to to push this to bodhi for fc17/16. This applies for all packages which use a mateconf scheme in {_sysconfdir}/mateconf/schemas/*.
see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#GConf Requires(pre): mate-conf Requires(preun): mate-conf Requires(post): mate-conf Requires: mate-desktop
(In reply to comment #9) > see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#GConf > > Requires(pre): mate-conf > Requires(preun): mate-conf > Requires(post): mate-conf > Requires: mate-desktop sorry, better Requires(pre): mate-conf Requires(post): mate-conf Requires(preun): mate-conf
For the scriptlets, they can just be fixed after importing. I don't follow why you think these are needed: Provides: mate-notification-daemon-engine-slider%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-nodoka%{?_isa} = %{version}-%{release} Provides: mate-notification-daemon-engine-coco%{?_isa} = %{version}-%{release} does your packaging of mate use and need these somehow?
Git done (by process-git-requests). Fixed branch name.
mate-notification-daemon-1.4.0-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-2.fc17
mate-notification-daemon-1.4.0-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-2.fc18
mate-notification-daemon-1.4.0-2.fc18 has been pushed to the Fedora 18 testing repository.
mate-notification-daemon-1.4.0-2.fc17 has been pushed to the Fedora 17 stable repository.
mate-notification-daemon-1.4.0-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-3.fc17
mate-notification-daemon-1.4.0-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-3.fc16
mate-notification-daemon-1.4.0-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-3.fc18
mate-notification-daemon-1.4.0-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-6.fc17
mate-notification-daemon-1.4.0-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-6.fc18
mate-notification-daemon-1.4.0-2.fc18 has been pushed to the Fedora 18 stable repository.
mate-notification-daemon-1.4.0-3.fc18 has been pushed to the Fedora 18 stable repository.
mate-notification-daemon-1.4.0-8.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-8.fc18
mate-notification-daemon-1.4.0-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-8.fc17
mate-notification-daemon-1.4.0-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-9.fc17
mate-notification-daemon-1.4.0-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.4.0-9.fc18
mate-notification-daemon-1.5.0-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mate-notification-daemon-1.5.0-1.fc16
mate-notification-daemon-1.5.0-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.