Hi, I want to create a package for tellico 1.0.3 because SUSE provides only 0.13.8. I've took the spec file and the dif from the SUSE's package and modified them for a little. The only thing modified in the spec file is the version. The dif file is here: --- tellico-1.0.3.dif: --- Makefile.am +++ Makefile.am 2005/07/20 13:58:47 @@ -1,6 +1,6 @@ ####### kdevelop will overwrite this part!!! (begin)########## -SUBDIRS = src po doc icons xslt admin +SUBDIRS = src po doc icons xslt EXTRA_DIST = COPYING ChangeLog INSTALL README TODO tellico.lsm tellico.spec tellico.dtd x-tellico.desktop configure.in.in AUTHORS NEWS tellico.tips tellico.desktop tellico-rename.upd --- Since I'm not a programmer I took this file from the 0.13.8 SRPM and removed all the lines, except these. When the y2pmbuild compiles the source I get this errors: ------ ./src/translators/libtranslators.a(bibteximporter.o): In function `~BibtexImporter': /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:33: undefined reference to `bt_cleanup' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:33: undefined reference to `bt_cleanup' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:33: undefined reference to `bt_cleanup' ./src/translators/libtranslators.a(bibteximporter.o): In function `Tellico::Import::BibtexImporter::parseText(QString const&)': /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:156: undefined reference to `bt_set_stringopts' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:157: undefined reference to `bt_set_stringopts' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:179: undefined reference to `bt_parse_entry_s' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:193: undefined reference to `bt_parse_entry_s' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:181: undefined reference to `bt_entry_metatype' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:183: undefined reference to `bt_next_field' ./src/translators/libtranslators.a(bibteximporter.o): In function `Tellico::Import::BibtexImporter::collection()': /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:62: undefined reference to `bt_entry_metatype' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:70: undefined reference to `bt_entry_metatype' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:79: undefined reference to `bt_entry_metatype' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:86: undefined reference to `bt_entry_type' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:91: undefined reference to `bt_entry_key' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:97: undefined reference to `bt_next_field' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:105: undefined reference to `bt_next_value' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:63: undefined reference to `bt_get_text' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:140: undefined reference to `bt_free_ast' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:72: undefined reference to `bt_next_field' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:75: undefined reference to `bt_macro_text' ./src/translators/libtranslators.a(bibteximporter.o): In function `BibtexImporter': /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:29: undefined reference to `bt_initialize' /usr/src/packages/BUILD/tellico-1.0.3/src/translators/bibteximporter.cpp:29: undefined reference to `bt_initialize' collect2: ld returned 1 exit status Error creating ./src/tellico. Exit status 1. makeobj[0]: Leaving directory `/usr/src/packages/BUILD/tellico-1.0.3' error: Bad exit status from /var/tmp/rpm-tmp.86206 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.86206 (%build) ------ Can someone help me with a patch or some hints? If I let the patch from 0.13.8 untouched I get errors when the patch is applied. If I don't apply the patch, after %configure I get unsermake is giving me an error about missing Makefile from the admin/ dir. If I use update_admin --no-unsermake I also get some errors (I don't remember what errors but I think the errors were about bt_initialize). Any idea? Cheers, -- Damian Mihai Liviu Mobile: +40 741 226993; Fax: +1 347-632-4117 Phone : +1 360-526-6441; +1 347-632-4117; +44 0870-3403339 URL: http://liviudm.blogspot.com