A brute force solution: We start with the two sixes with six empty places in between. We must fill those six places with exactly one of each number 1 to 5, as well as 7, while following the rules of spacing.
To follow the rules of spacing, the 1 must be adjacent to one of the sixes, and the 2 must be on the other side. Ignoring reverse order solutions, the only two openings are:
1 6 1 * * * 2 * 6 2
1 6 1 * * * * 2 6 _ 2
Now, filling in the 3:
3 1 6 1 3 * * 2 * 6 2
1 6 1 * * * 2 3 6 2 _ 3
3 1 6 1 3 * * * 2 6 _ 2
1 6 1 * * 3 * 2 6 3 2
The 4:
3 1 6 1 3 * 4 2 * 6 2 4
3 1 6 1 3 * * 2 4 6 2 _ _ 4
1 6 1 * * 4 2 3 6 2 4 3
4 1 6 1 * 4 * 2 3 6 2 _ 3
4 _ 1 6 1 4 * * 2 3 6 2 _ 3
3 1 6 1 3 4 * * 2 6 4 2
3 1 6 1 3 * * 4 2 6 _ 2 4
4 _ 1 6 1 4 * 3 * 2 6 3 2
4 1 6 1 * 4 3 * 2 6 3 2
1 6 1 * * 3 4 2 6 3 2 4
When placing the 5, we can easily reject any solution that would leave more than 1 empty place in each suit, since we only have the 7 left:
5 3 1 6 1 3 5 4 2 * 6 2 4
3 1 6 1 3 * 5 2 4 6 2 _ 5 4
5 _ 1 6 1 * 5 4 2 3 6 2 4 3
4 _ 1 6 1 4 5 * 2 3 6 2 5 3
4 5 1 6 1 4 * 5 2 3 6 2 _ 3
3 1 6 1 3 4 5 * 2 6 4 2 5
3 1 6 1 3 4 * 5 2 6 4 2 _ 5
5 3 1 6 1 3 5 * 4 2 6 _ 2 4
5 _ 4 1 6 1 5 4 3 * 2 6 3 2
4 1 6 1 * 4 3 5 2 6 3 2 _ 5
5 _ 1 6 1 * 5 3 4 2 6 3 2 4
And finally we place the 7 such that no empty places are left, leaving only the valid solutions:
7 3 1 6 1 3 4 5 7 2 6 4 2 5
5 7 4 1 6 1 5 4 3 7 2 6 3 2
4 1 6 1 7 4 3 5 2 6 3 2 7 5
The reverse order of each valid solution is also valid, so there are 6 valid sequences of numbers (ignoring the suits). Obviously the choice of "inside" suit is also arbitrary, as is the order of the two sixes (of different suits), so with actual cards (considering the suits) there are more valid arrangements, but the solutions are fundamentally the same.