|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: liblangtag
|
|
|
|
|
Version: 0.3
|
|
|
|
|
Version: 0.4.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An interface library to access tags for identifying languages
|
|
|
|
|
|
|
|
|
@ -8,8 +8,8 @@ License: LGPLv3+
|
|
|
|
|
URL: https://github.com/tagoh/liblangtag/
|
|
|
|
|
Source0: https://github.com/downloads/tagoh/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -59,7 +59,8 @@ sed -i \
|
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
make %{?_smp_mflags} V=1 \
|
|
|
|
|
LD_LIBRARY_PATH=`pwd`/liblangtag/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -76,16 +77,13 @@ rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
%{_libdir}/%{name}-gobject.so.*
|
|
|
|
|
%{_libdir}/%{name}/*.so
|
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
%{_libdir}/%{name}-gobject.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}-gobject.pc
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc COPYING
|
|
|
|
@ -93,5 +91,8 @@ rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Nov 25 2012 David Tardon <dtardon@redhat.com> - 0.4.0-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Sun Sep 09 2012 David Tardon <dtardon@redhat.com> - 0.3-1
|
|
|
|
|
- initial import
|
|
|
|
|