"Consequently, you are no longer foreigners and aliens, but fellow citizens with God's people and members of God's household, built on the foundation of the apostles and prophets, with Christ Jesus himself as the chief cornerstone. In him the whole building is joined together and rises to become a holy temple in the Lord." (Ephesians 2:19-21)
So you are saying that God's "building" (the Church) was built on the foundation of the apostles, so therefore the apostles must have been given certain spiritual gifts in order to help found the Church?
Are you also saying that these gifts of the Spirit were part of the foundation for establishing and building the Church, and therefore they were temporary (which is not a very strong argument when you consider that the foundation which your house sits on was not temporary, it is still there).
This line of argument misses Paul's point and goes beyond what the above passage actually says. Paul's point was simply that we are members of God's "building," and that the apostles (and the prophets) laid the foundation for this "building." Notice that Paul used the same imagery in 1 Corinthians 3:9-11, where he specifically said that the foundation has nothing to do with his gifts as an apostle, but instead the foundation is Jesus Christ:
"For we are God's fellow workers; you are God's field, God's building. By the grace God has given me, I laid a foundation as an expert builder, and someone else is building on it. But each one should be careful how he builds. For no one can lay any foundation other than the one already laid, which is Jesus Christ." (1 Corinthians 3:9-11)
Jesus is the true foundation, so if we use your argument then we must conclude that Jesus and His gifts (salvation, eternal life, the Holy Spirit, forgiveness of sins, redemption, etc.) were purely "foundational" and therefore ended when the New Testament was completed. Obviously this is the wrong conclusion to make. The argument that the apostles' spiritual gifts were purely foundational (and therefore temporary) is not Scriptural.