This is an rpm for TeXworks I built for SLED 11. It should work for openSUSE 11.1 too.
This is the script I use to create the rpm:
It does the following:
The script will take one argument which is used as a release number for the rpm.If ommitted the release number defaults to 0. This is useful if you need to build another rpm for a version of TeXworks you've already built one for.
The rpm is intended for use with TeXLive 2008. SLED 11 and openSUSE 11.1 disapointingly include TeXLive 2007 which doesn't support synctex. Using TeXworks with TeXLive 2007 means pdflatex can't be used as TeXworks calls it with a synctex option it doesn't understand. Rpms for TexLive 2008 can be found at http://download.opensuse.org/repositories/Publishing/openSUSE_11.1/. I've found the rpms work on SLED 11 even though they say they're for openSUSE 11.1. (SLED 11 is esssntialy openSUSE 11.1 with different branding and some proprietry packages added.)
Disclaimer: I do not use any form of TeX myself. I just have never found the need or desire to. I created an rpm because I was asked to deploy the application for people who do use TeX.