source: projects/specs/branches/6/lib/libx/libxdg-basedir/libxdg-basedir-vl.spec @ 2469

Revision 2469, 2.8 KB checked in by kazutaka, 13 years ago (diff)

2.0.9に更新

Line 
1Name:           libxdg-basedir
2Version:        1.1.1
3Release:        1%{?_dist_release}
4Summary:        Implementation of the XDG Base Directory Specifications
5
6Group:          System Environment/Libraries
7License:        MIT
8URL:            http://n.ethz.ch/student/nevillm/download/libxdg-basedir
9Source0:        http://n.ethz.ch/student/nevillm/download/libxdg-basedir/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12
13%description
14The XDG Base Directory Specification defines where should user files
15be looked for by defining one or more base directories relative in
16with they should be located.
17
18This library implements functions to list the directories according
19to the specification and provides a few higher-level functions.
20
21
22%package        devel
23Summary:        Development files for %{name}
24Group:          Development/Libraries
25Requires:       %{name} = %{version}-%{release}
26Requires:       pkgconfig
27
28%description    devel
29The %{name}-devel package contains libraries and header files for
30developing applications that use %{name}.
31
32
33%package        doc
34Summary:        Documentation files for %{name}
35Group:          Documentation
36Requires:       %{name} = %{version}-%{release}
37BuildRequires:  doxygen
38
39%description    doc
40The %{name}-doc package contains doxygen generated files for
41developing applications that use %{name}.
42
43
44%prep
45%setup -q
46
47
48%build
49%configure --disable-static
50make %{?_smp_mflags}
51make doxygen-run
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make install DESTDIR="$RPM_BUILD_ROOT"
57find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
58
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63
64%check
65make 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
Note: See TracBrowser for help on using the repository browser.