Name: libxdg-basedir Version: 1.2.0 Release: 1%{?_dist_release} Summary: Implementation of the XDG Base Directory Specifications Group: System Environment/Libraries License: MIT URL: https://github.com/devnev/libxdg-basedir Source0: https://github.com/devnev/libxdg-basedir/archive/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf automake BuildRequires: doxygen %description The XDG Base Directory Specification defines where should user files be looked for by defining one or more base directories relative in with they should be located. This library implements functions to list the directories according to the specification and provides a few higher-level functions. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation files for %{name} Summary(ja): %{name} のドキュメント Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains doxygen generated files for developing applications that use %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %build ./autogen.sh %configure --disable-static make %{?_smp_mflags} make doxygen-run %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %files doc %defattr(-,root,root,-) %doc doc/html/ %changelog * Tue Feb 24 2015 Ryoichi INAGAKI 1.2.0-1 - updated to 1.2.0 - updated URL - changed doc subpackage to noarch * Fri Jan 07 2011 Kazutaka HARADA 1.1.1-1 - initial build for Vine Linux based on fedora development * Fri Jul 16 2010 Michal Nowak - 1.1.1-1 - 1.1.1 * Sun May 9 2010 Michal Nowak - 1.1.0-1 - 1.1.0 * Tue Sep 1 2009 Michal Nowak - 1.0.2-1 - 1.0.2 * Sat Jul 25 2009 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 9 2009 Michal Nowak - 1.0.1-2 - removed bogus ownership of %%{_libdir}/pkgconfig/ - "docs" sub-package renamed to "doc" * Mon Jun 8 2009 Michal Nowak - 1.0.1-1 - 1.0.1 - -devel: require pkgconfig, own %%{_libdir}/pkgconfig/ - -docs: sub-package - make check tests - SPEC cleanups * Thu May 7 2009 Michal Nowak - 1.0.0-1 - 1.0.0