#!/bin/sh

cp NetworkManager-gnome.changes NetworkManager-appindicator.changes
sed "s/\(%define *build_appindicator *\)0/\11/;s/\(^Name: *\)NetworkManager-gnome.*/\1NetworkManager-appindicator/" NetworkManager-gnome.spec > NetworkManager-appindicator.spec
sed -i "
    /^Name: *NetworkManager-appindicator/i \
# Do not edit this auto generated file! Edit NetworkManager-gnome.spec.
" NetworkManager-appindicator.spec
