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