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