source: projects/specs/trunk/lib/libx/libxdg-basedir/libxdg-basedir-vl.spec @ 9381

Revision 9381, 3.1 KB checked in by inagaki, 9 years ago (diff)

2015-02-24 Ryoichi INAGAKI <ryo1@…>

  • libmal, libsmbios, libwvstreams: rebuilt
  • libsieve, libxdg-basedir: updated


Line 
1Name:           libxdg-basedir
2Version:        1.2.0
3Release:        1%{?_dist_release}
4Summary:        Implementation of the XDG Base Directory Specifications
5
6Group:          System Environment/Libraries
7License:        MIT
8URL:            https://github.com/devnev/libxdg-basedir
9Source0:        https://github.com/devnev/libxdg-basedir/archive/%{name}-%{version}.tar.gz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildRequires:  autoconf automake
13BuildRequires:  doxygen
14
15%description
16The XDG Base Directory Specification defines where should user files
17be looked for by defining one or more base directories relative in
18with they should be located.
19
20This library implements functions to list the directories according
21to the specification and provides a few higher-level functions.
22
23
24%package        devel
25Summary:        Development files for %{name}
26Summary(ja):    %{name} の開発用ファイル
27Group:          Development/Libraries
28Requires:       %{name} = %{version}-%{release}
29Requires:       pkgconfig
30
31%description    devel
32The %{name}-devel package contains libraries and header files for
33developing applications that use %{name}.
34
35
36%package        doc
37Summary:        Documentation files for %{name}
38Summary(ja):    %{name} のドキュメント
39Group:          Documentation
40Requires:       %{name} = %{version}-%{release}
41BuildArch:      noarch
42
43%description    doc
44The %{name}-doc package contains doxygen generated files for
45developing 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
56make %{?_smp_mflags}
57make doxygen-run
58
59
60%install
61rm -rf $RPM_BUILD_ROOT
62make install DESTDIR="$RPM_BUILD_ROOT"
63find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
64
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69
70%check
71make 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
Note: See TracBrowser for help on using the repository browser.