1 Summary: An interface library to access tags for identifying languages
7 URL: http://tagoh.bitbucket.org/liblangtag/
8 Source0: https://bitbucket.org/tagoh/liblangtag/downloads/%{name}-%{version}.tar.bz2
9 # Source0-md5: 54e578c91b1b68e69c72be22adcb2195
10 Patch0: 0001-Fix-build-issues-with-MSVC.patch
11 Patch1: %{name}-Werror.patch
12 BuildRequires: gtk-doc
13 BuildRequires: libtool
14 BuildRequires: libxml2-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %{name} is an interface library to access tags for identifying
22 - several subtag registry database supports:
31 - handling of the language tags
37 Summary: Development files for %{name}
38 Group: Development/Libraries
39 Requires: %{name}%{?_isa} = %{version}-%{release}
42 The %{name}-devel package contains libraries and header files for
43 developing applications that use %{name}.
54 --disable-introspection \
57 LD_LIBRARY_PATH=`pwd`/liblangtag/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(644,root,root,755)
75 %doc AUTHORS COPYING NEWS README
76 %attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
77 %attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
78 %dir %{_libdir}/%{name}
79 %attr(755,root,root) %{_libdir}/%{name}/liblangtag-ext-ldml-t.so
80 %attr(755,root,root) %{_libdir}/%{name}/liblangtag-ext-ldml-u.so
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/%{name}.so
87 %{_includedir}/%{name}
88 %{_pkgconfigdir}/%{name}.pc