#!/bin/sh cp colord.changes colord-gtk.changes sed "s/\(%define *build_gtk *\)0/\11/;s/\(^Name: *\)colord.*/\1colord-gtk/" colord.spec > colord-gtk.spec sed -i " /^Name: *colord-gtk/i \ # Do not edit this auto generated file! Edit colord.spec. " colord-gtk.spec