source: projects/specs/trunk/f/fprint_demo/fprint_demo-vl.spec @ 521

Revision 521, 1.9 KB checked in by daisuke, 11 years ago (diff)

import VineSeed package specs

Line 
1Summary:        Demo of the fprint drivers
2Summary(ja):    fprint ドライバのデモプログラム
3Name:           fprint_demo
4Version:        0.4
5Release:        1%{?_dist_release}
6
7Group:          System Environment/Base
8License:        GPLv2
9URL:            http://www.reactivated.net/fprint/wiki/Main_Page
10Source0:        http://downloads.sourceforge.net/fprint/%{name}-%{version}.tar.bz2
11Source1:        %{name}.desktop
12Source2:        fprint-icon.png
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15BuildRequires:  fprintd-devel libfprint-devel gtk2-devel desktop-file-utils
16Requires:       fprintd-pam
17
18%description
19Graphical tool to demonstrate how works for the fprint drivers
20
21%prep
22%setup -q
23
24
25%build
26%configure
27make %{?_smp_mflags}
28
29
30%install
31rm -rf $RPM_BUILD_ROOT
32make install DESTDIR=$RPM_BUILD_ROOT
33
34install -Dm 0755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/fprint-icon.png
35
36desktop-file-install    --vendor="fedora"                               \
37                        --dir=%{buildroot}%{_datadir}/applications/     \
38                        --mode 0644                                     \
39                        %{SOURCE1} 
40
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45
46%files
47%defattr(-,root,root,-)
48%doc INSTALL COPYING AUTHORS NEWS README
49%{_bindir}/%{name}
50%{_datadir}/applications/fedora-%{name}.desktop
51%{_datadir}/pixmaps/fprint-icon.png
52
53%changelog
54* Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
55- new versioning policy
56
57* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
58- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
59
60* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-4
61- Autorebuild for GCC 4.3
62
63* Sat Jan 12 2008 Pingou <pingoufc4@yahoo.fr> 0.4-3
64- Change the directory of the icon
65
66* Sun Jan 06 2008 Pingou <pingoufc4@yahoo.fr> 0.4-2
67- Add the .desktop file
68
69* Sat Nov 24 2007 Pingou <pingoufc4@yahoo.fr> 0.4-1
70- First release
71
Note: See TracBrowser for help on using the repository browser.