Initialize Tizen 2.3
[external/libiri.git] / packaging / libiri.spec
1 Name:    libiri
2 Summary: a simple library for parsing Internationalized Resource Identifiers (IRIs)
3 Version: 1.6
4 Release: 1
5 Group:   Development/Libraries
6 License: TO_BE_FILLED
7 Source0: %{name}-%{version}.tar.gz
8 BuildRequires: pkgconfig(dlog)
9
10 %description
11 a simple library for parsing Internationalized Resource Identifiers (IRIs)
12
13 %package devel
14 Summary:    a simple library for parsing Internationalized Resource Identifiers (IRIs) (Developement)
15 Group:      Development/Libraries
16 Requires:   %{name} = %{version}
17
18 %description devel
19 a simple library for parsing Internationalized Resource Identifiers (IRIs) (Developement)
20
21 %prep
22 %setup -q
23
24 %build
25 ./autogen.sh --prefix=/usr
26 make %{?jobs:-j%jobs}
27
28 %install
29 rm -rf %{buildroot}
30 mkdir -p %{buildroot}/usr/share/license
31 cp LICENSE %{buildroot}/usr/share/license/%{name}
32 %make_install
33
34 %clean
35 rm -rf %{buildroot}
36
37 %post
38
39 %postun
40
41
42 %files
43 %manifest libiri.manifest
44 %defattr(-,root,root,-)
45 %{_libdir}/libiri.so
46 %{_bindir}/iri-config
47 %{_datadir}/license/%{name}
48
49 %files devel
50 %defattr(-,root,root,-)
51 %{_includedir}/iri.h
52 %{_libdir}/pkgconfig/libiri.pc