Witam, Załączam spec do dość dobrego programu do konwersji diagramów UML Dia do skryptów SQLa.
Natknąłem się na pewien problem i nie wiem, jak go rozwiązać. Mianowicie program szuka pliku /usr/bin/tedia2sqlrc, jeśli go nie znajdzie potem szuka ~/.tedia2sqlrc. Nie wiem, czy mam poprawić źródło, tak aby nie szukał /usr/bin/tedia2sqlrc, jeśli tak, proszę o informację. Jak zawsze czekam na uwagi, mam nadzieję, że tym razem wyszedł mi trochę czystszy spec, użyłtem ./adapter.awk Pozdrawiam, Łukasz Nowak -- Łukasz Nowak [EMAIL PROTECTED] http://Lukasz.Nowak.eu.org/
# $Revision: 1.26 $, $Date: 2003/08/04 19:06:42 $ Summary: Dia UML Diagram --> SQL Converter Summary(pl): Konwerter diagramów UML z DIA do tabel SQLa Name: tedia2sql Version: 1.2.9 Release: 1 License: GPL Group: Development/Tools Source0: http://tedia2sql.tigris.org/files/documents/282/5625/%{name}-129.tar.gz # Source0-md5: 1396374395a9c876a5638ecd25139712 URL: http://tedia2sql.tigris.org/ Requires: dia >= 0.90 Requires: expat >= 1.95.3 Requires: perl-XML-Parser Requires: perl-XML-RegExp Requires: perl-XML-DOM Requires: perl-Digest-MD5 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description It is a tool that allows you to create a database ERD in Dia (using the UML shape toolset), then to convert that ERD into a SQL DDL script for multiple databases. %description -l pl Narzędzie służące do konwersji diagramów UML w Dia do skryptów różnych SZDB SQL. %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{_bindir} install tedia2sql $RPM_BUILD_ROOT/%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %post echo echo "You can find sample configuration file here:" echo "/usr/share/doc/%{name}-%{version}/tedia2sqlrc.gz" echo "gunzip it to ~/.tediasqlrc and then edit, to cover your needs." echo %files %defattr(644,root,root,755) %doc README tedia2sqlrc www/*.html www/*.sql www/*.dia %attr(755,root,root,755) %{_bindir}/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log: template.spec,v $
__________________________________________________________ nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles
