File README.SUSE of Package sogou-pinyin

# How to create qimpanel-mkdir.txt and qimpanel-files.txt

1. Download any .deb from http://pinyin.sogou.com/linux
2. ar -x *.deb
3. tar -xf data.tar.xz
4. cd usr/share/sogou-qimpanel
5. rm -rf zh_CN.qm
6. rm -rf skin/ubuntukylin-*
7. find . -type f > 1.txt
8. find . -type d > 2.txt
9. make some cleans of those 2 files, eg: remove '.' 
   and already packaged directories in them
10. cp -r 2.txt 3.txt
11. sed -i "s/\.\//%ghost %{_datadir}\/sogou-qimpanel\//" 1.txt
12. sed -i "s/\.\//%dir %{_datadir}\/sogou-qimpanel\//" 2.txt
13. sed -i "s/\.\//\.\/usr\/share\/sogou-qimpanel\//" 3.txt
14. cat 1.txt 2.txt > qimpanel-files.txt
15. mv 3.txt qimpanel-mkdir.txt

Something like that
openSUSE Build Service is sponsored by