/[packages]/cauldron/lexed/current/SPECS/lexed.spec
ViewVC logotype

Contents of /cauldron/lexed/current/SPECS/lexed.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23974 - (show annotations) (download)
Wed Jan 19 10:51:40 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 2091 byte(s)
imported package lexed
1 %define name lexed
2 %define version 4.7
3 %define release %mkrel 9
4 %define major %{version}
5 %define libname %mklibname %{name} %{major}
6
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 Summary: Lexicon analyser
11 Source: https://gforge.inria.fr/frs/download.php/1489/%{name}-%{version}.tar.bz2
12 URL: https://gforge.inria.fr/projects/lingwb/
13 License: GPL
14 Group: Sciences/Computer science
15 Requires: %{libname} = %{version}-%{release}
16 BuildRoot: %{_tmppath}/%{name}-%{version}
17
18 %description
19 Lexed allows to search a dictionary entry from a string. The finished
20 automata-based algorithm is especially fast, and offers a good alternative to
21 hashes for large dictionnaries.
22
23 %package -n %{libname}
24 Summary: Main library for %{name}
25 Group: System/Libraries
26 Provides: %{name} = %{version}-%{release}
27
28 %description -n %{libname}
29 This package contains the library needed to run programs dynamically
30 linked with %{name}.
31
32 %package -n %{libname}-devel
33 Summary: Headers for developing programs that will use %{name}
34 Group: Development/Other
35 Requires: %{libname} = %{version}
36 Provides: lib%{name}-devel = %{version}-%{release}
37 Provides: %{name}-devel = %{version}-%{release}
38 Conflicts: %{mklibname %{name} 4.6}-devel
39
40 %description -n %{libname}-devel
41 This package contains the headers that programmers will need to develop
42 applications which will use %{name}.
43
44
45 %prep
46 %setup -q
47
48 %build
49 %configure2_5x
50 %make
51
52 %install
53 rm -rf %{buildroot}
54 %makeinstall_std
55 %multiarch_binaries %{buildroot}%{_bindir}/%{name}-config
56
57 %clean
58 rm -rf %{buildroot}
59
60 %if %mdkversion < 200900
61 %post -n %{libname} -p /sbin/ldconfig
62 %endif
63 %if %mdkversion < 200900
64 %postun -n %{libname} -p /sbin/ldconfig
65 %endif
66
67 %files
68 %defattr(-,root,root)
69 %doc AUTHORS COPYING INSTALL NEWS README doc/*.html
70 %{_bindir}/%{name}
71 %{_mandir}/man1/*
72
73 %files -n %{libname}
74 %defattr(-,root,root)
75 %{_libdir}/liblexed-%{version}.so
76
77 %files -n %{libname}-devel
78 %defattr(-,root,root)
79 %multiarch %{multiarch_bindir}/%{name}-config
80 %{_bindir}/%{name}-config
81 %{_includedir}/*
82 %{_libdir}/*.la
83 %{_libdir}/*.a
84 %{_libdir}/liblexed.so
85 %{_datadir}/aclocal/*
86
87
88
89

  ViewVC Help
Powered by ViewVC 1.1.30