[2469] | 1 | Name: libxdg-basedir |
---|
| 2 | Version: 1.1.1 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Implementation of the XDG Base Directory Specifications |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: MIT |
---|
| 8 | URL: http://n.ethz.ch/student/nevillm/download/libxdg-basedir |
---|
| 9 | Source0: http://n.ethz.ch/student/nevillm/download/libxdg-basedir/%{name}-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | The XDG Base Directory Specification defines where should user files |
---|
| 15 | be looked for by defining one or more base directories relative in |
---|
| 16 | with they should be located. |
---|
| 17 | |
---|
| 18 | This library implements functions to list the directories according |
---|
| 19 | to the specification and provides a few higher-level functions. |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Development files for %{name} |
---|
| 24 | Group: Development/Libraries |
---|
| 25 | Requires: %{name} = %{version}-%{release} |
---|
| 26 | Requires: pkgconfig |
---|
| 27 | |
---|
| 28 | %description devel |
---|
| 29 | The %{name}-devel package contains libraries and header files for |
---|
| 30 | developing applications that use %{name}. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package doc |
---|
| 34 | Summary: Documentation files for %{name} |
---|
| 35 | Group: Documentation |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | BuildRequires: doxygen |
---|
| 38 | |
---|
| 39 | %description doc |
---|
| 40 | The %{name}-doc package contains doxygen generated files for |
---|
| 41 | developing applications that use %{name}. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | %configure --disable-static |
---|
| 50 | make %{?_smp_mflags} |
---|
| 51 | make doxygen-run |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | make install DESTDIR="$RPM_BUILD_ROOT" |
---|
| 57 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | rm -rf $RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %check |
---|
| 65 | make check |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %post -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | %postun -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %defattr(-,root,root,-) |
---|
| 75 | %{_libdir}/*.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-,root,root,-) |
---|
| 79 | %{_includedir}/* |
---|
| 80 | %{_libdir}/*.so |
---|
| 81 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 82 | |
---|
| 83 | %files doc |
---|
| 84 | %defattr(-,root,root,-) |
---|
| 85 | %doc doc/html/ |
---|
| 86 | |
---|
| 87 | %changelog |
---|
| 88 | * Fri Jan 07 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.1.1-1 |
---|
| 89 | - initial build for Vine Linux based on fedora development |
---|
| 90 | |
---|
| 91 | * Fri Jul 16 2010 Michal Nowak <mnowak@redhat.com> - 1.1.1-1 |
---|
| 92 | - 1.1.1 |
---|
| 93 | |
---|
| 94 | * Sun May 9 2010 Michal Nowak <mnowak@redhat.com> - 1.1.0-1 |
---|
| 95 | - 1.1.0 |
---|
| 96 | |
---|
| 97 | * Tue Sep 1 2009 Michal Nowak <mnowak@redhat.com> - 1.0.2-1 |
---|
| 98 | - 1.0.2 |
---|
| 99 | |
---|
| 100 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Tue Jun 9 2009 Michal Nowak <mnowak@redhat.com> - 1.0.1-2 |
---|
| 104 | - removed bogus ownership of %%{_libdir}/pkgconfig/ |
---|
| 105 | - "docs" sub-package renamed to "doc" |
---|
| 106 | |
---|
| 107 | * Mon Jun 8 2009 Michal Nowak <mnowak@redhat.com> - 1.0.1-1 |
---|
| 108 | - 1.0.1 |
---|
| 109 | - -devel: require pkgconfig, own %%{_libdir}/pkgconfig/ |
---|
| 110 | - -docs: sub-package |
---|
| 111 | - make check tests |
---|
| 112 | - SPEC cleanups |
---|
| 113 | |
---|
| 114 | * Thu May 7 2009 Michal Nowak <mnowak@redhat.com> - 1.0.0-1 |
---|
| 115 | - 1.0.0 |
---|
| 116 | |
---|