Package libmythes: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | # BEGIN SourceDeps(oneline): BuildRequires: gcc-c++ # END SourceDeps(oneline) %define oldname mythes # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: libmythes Summary: A thesaurus library Version: 1.2.4 Release: alt1_8 Source: http://downloads.sourceforge.net/hunspell/%{oldname}-%{version}.tar.gz Group: System/Libraries URL: http://hunspell.sourceforge.net/ License: BSD and MIT BuildRequires: libhunspell-devel hunspell-utils Source44: import.info %description MyThes is a simple thesaurus that uses a structured text data file and an index file with binary search to look up words and phrases and return information on part of speech, meanings, and synonyms. %package devel Requires: libmythes = %{version}-%{release}, pkg-config Summary: Files for developing with mythes Group: Development/Other %description devel Includes and definitions for developing with mythes %prep %setup -n %{oldname}-%{version} -q %build %configure --disable-rpath --disable-static %make_build %check ./example th_en_US_new.idx th_en_US_new.dat checkme.lst ./example morph.idx morph.dat morph.lst morph.aff morph.dic %install make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes %files %doc README COPYING AUTHORS %{_libdir}/*.so.* %{_datadir}/mythes %files devel %doc data_layout.txt %{_includedir}/mythes.hxx %{_libdir}/*.so %{_libdir}/pkgconfig/mythes.pc %{_bindir}/th_gen_idx.pl %changelog * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_8 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_6 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_5 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_4 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_2 - update to new release by fcimport * Tue Jul 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.2.4-alt1_1 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_7 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_6 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_4 - update to new release by fcimport * Fri Nov 09 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_3 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_2 - update to new release by fcimport * Thu Jul 19 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.3-alt1_1 - update to new release by fcimport * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.2-alt1_2 - update to new release by fcimport * Tue Jan 10 2012 Igor Vlasenko <viy@altlinux.ru> 1.2.2-alt1_1 - update to new release by fcimport * Fri May 20 2011 Igor Vlasenko <viy@altlinux.ru> 1.2.1-alt1_3 - new version |