-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlibMASFA.spec
More file actions
38 lines (30 loc) · 863 Bytes
/
Copy pathlibMASFA.spec
File metadata and controls
38 lines (30 loc) · 863 Bytes
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
Summary: MAFSA developement library
Name: libMAFSA-devel
Version: 0.1.0
Release: 0%{?dist}
License: LGPL
Source: libMAFSA-%{version}.tar.gz
Group: Developement/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel cmake gcc-c++
%description
MAFSA developement library: Minimal Acyclic Finite State Automata
%prep
%setup -q -n libMAFSA-%{version}
%build
cmake -D SKIP_RELINK_RPATH=ON . -DCMAKE_INSTALL_PREFIX=/usr -DCFLAGS="${CFLAGS}" -DCXXFLAGS="${CXXFLAGS}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir %{buildroot}
make DESTDIR=%{buildroot} install
mkdir $RPM_BUILD_ROOT/usr/share
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_includedir}/MAFSA
%{_libdir}/libMAFSA.a
%changelog
* Tue Mar 26 2013 Alexander Pankov <pianist@usrsrc.ru> - 0.1.0
+ First RPM package