source: projects/specs/trunk/D/DeviceKit/DeviceKit-vl.spec @ 521

Revision 521, 3.4 KB checked in by daisuke, 12 years ago (diff)

import VineSeed package specs

Line 
1%define glib2_version           2.22.0
2%define dbus_version            1.2
3%define dbus_glib_version       0.82
4%define gtk_doc_version         1.4
5%define udev_version            141
6
7Summary: Device Enumeration Framework
8Summary(ja): Device Enumeration Framework
9Name: DeviceKit
10Version: 003
11Release: 1%{?_dist_release}
12License: GPLv2+ and LGPLv2+
13Group: System Environment/Libraries
14URL: http://gitweb.freedesktop.org/?p=users/david/DeviceKit.git;a=summary
15Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17Requires(post): /sbin/ldconfig
18Requires(postun): /sbin/ldconfig
19BuildRequires: glib2-devel >= %{glib2_version}
20BuildRequires: dbus-devel  >= %{dbus_version}
21BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
22BuildRequires: gtk-doc >= %{gtk_doc_version}
23BuildRequires: udev >= %{udev_version}
24Requires: dbus
25Requires: dbus-glib
26Requires: glib2
27Requires: udev
28
29%description
30DeviceKit is a framework for enumerating devices.
31
32%package devel
33Summary: Headers and libraries for DeviceKit
34Summary(ja): Headers and libraries for DeviceKit
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: glib2-devel
38Requires: pkgconfig
39# stupid guidelines require this for ownership of /usr/share/gtk-doc
40Requires: gtk-doc
41
42%description devel
43Headers and libraries for DeviceKit.
44
45%prep
46%setup -q
47
48%build
49%configure
50make
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55make install DESTDIR=$RPM_BUILD_ROOT
56
57rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
58rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post -p /sbin/ldconfig
64
65%postun -p /sbin/ldconfig
66
67%files
68%defattr(-,root,root,-)
69
70%doc README AUTHORS NEWS COPYING HACKING doc/TODO
71
72%{_bindir}/*
73%{_libexecdir}/*
74
75%{_libdir}/lib*.so.*
76
77%{_mandir}/man1/*
78%{_mandir}/man7/*
79%{_mandir}/man8/*
80
81%{_sysconfdir}/dbus-1/system.d/*
82%{_sysconfdir}/udev/rules.d/*
83
84%{_datadir}/dbus-1/system-services/*
85
86%dir %{_localstatedir}/run/devkit
87
88%files devel
89%defattr(-,root,root,-)
90
91%{_libdir}/lib*.so
92%{_libdir}/pkgconfig/*
93%{_includedir}/*
94%{_datadir}/dbus-1/interfaces/*
95
96%dir %{_datadir}/gtk-doc/html/devkit
97%{_datadir}/gtk-doc/html/devkit/*
98
99%changelog
100* Sun Sep 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 003-2
101- rebuild with new environment
102
103* Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 003-1
104- initial build for Vine Linux
105
106* Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 003-1%{?dist}
107- Update to release 003
108
109* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-9
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
111
112* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-8
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
114
115* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-7
116- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
117
118* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-6
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
120
121* Fri Dec 12 2008 Colin Walters <walters@verbum.org> - 002-5
122- Fix permissions patch
123
124* Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 002-4
125- Add dbus permissions patch
126
127* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> - 002-3
128- Update to 002
129
130* Sun Jul 20 2008 David Zeuthen <davidz@redhat.com> - 002-0.git20080720%{?dist}
131- Initial packaging
Note: See TracBrowser for help on using the repository browser.