source: projects/specs/trunk/l/lxpolkit/lxpolkit-vl.spec @ 4840

Revision 4840, 2.1 KB checked in by kudoh, 13 years ago (diff)

Name: lxpolkit
Version: 0.1.0
Release: 1%{?_dist_release}
Summary: Simple PolicyKit? authentication agent
Summary(ja): シンプルな PolicyKit? 認証エージェント

Group: User Interface/Desktops?
License: GPLv2+
URL:  http://lxde.org/
Source0: %{name}-%{version}.tar.gz
BuildRoot?: %{_tmppath}/%{name}-%{version}-root

BuildRequires?: desktop-file-utils
BuildRequires?: gettext
BuildRequires?: glib2-devel >= 2.18.0
BuildRequires?: gtk2-devel >= 2.12.0
BuildRequires?: intltool >= 0.40.0
BuildRequires?: menu-cache-devel >= 0.3.2
BuildRequires?: perl-XML-Parser
BuildRequires?: polkit-devel

Vendor: Project Vine
Distribution: Vine Linux
Packager: kudoh

Requires: polkit >= 0.95
# required to replace polkit-gnome and polkit-kde
Provides: PolicyKit?-authentication-agent

%description
LXPolKit is a simple PolicyKit? authentication agent developed for LXDE,
the Lightweight X11 Desktop Environment.

%prep
%setup -q
sed -i 's/NotShowIn?=GNOME;KDE;/NotShowIn?=GNOME;KDE;XFCE;/g' data/lxpolkit.desktop.in.in

%build
%configure --bindir=%{_libexecdir} --sysconfdir=/etc
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%find_lang %{name}

desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog? COPYING NEWS README
%config %{_sysconfdir}/xdg/autostart/lxpolkit.desktop
%{_libexecdir}/%{name}
%{_datadir}/%{name}/

%changelog

  • Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@…> - 0.1.0-1
  • initial build for Vine Linux
  • Fri Apr 02 2010 Christoph Wickert <cwickert@…> - 0.1.0-0.1.20100402git5087383
  • Update to git version 5087383
  • Install binary to %%{_libexecdir}
  • Mon Mar 29 2010 Christoph Wickert <cwickert@…> - 0.1.0-0.1.20100329git93555fa
  • Initial package
Line 
1Name:           lxpolkit
2Version:        0.1.0
3Release:        1%{?_dist_release}
4Summary:        Simple PolicyKit authentication agent
5Summary(ja):     シンプルな PolicyKit 認証エージェント
6
7Group:          User Interface/Desktops
8License:        GPLv2+
9URL:            http://lxde.org/
10Source0:        %{name}-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  desktop-file-utils
14BuildRequires:  gettext
15BuildRequires:  glib2-devel >= 2.18.0
16BuildRequires:  gtk2-devel >= 2.12.0
17BuildRequires:  intltool >= 0.40.0
18BuildRequires:  menu-cache-devel >= 0.3.2
19BuildRequires:  perl-XML-Parser
20BuildRequires:  polkit-devel
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: kudoh
25
26Requires:       polkit >= 0.95
27# required to replace polkit-gnome and polkit-kde
28Provides:       PolicyKit-authentication-agent
29
30%description
31LXPolKit is a simple PolicyKit authentication agent developed for LXDE,
32the Lightweight X11 Desktop Environment.
33
34
35%prep
36%setup -q
37sed -i 's/^NotShowIn=GNOME;KDE;/NotShowIn=GNOME;KDE;XFCE;/g' data/lxpolkit.desktop.in.in
38
39%build
40%configure --bindir=%{_libexecdir} --sysconfdir=/etc
41make %{?_smp_mflags}
42
43%install
44rm -rf %{buildroot}
45make install DESTDIR=%{buildroot}
46
47%find_lang %{name}
48
49desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop
50
51%clean
52rm -rf %{buildroot}
53
54
55%files -f %{name}.lang
56%defattr(-,root,root,-)
57%doc AUTHORS ChangeLog COPYING NEWS README
58%config %{_sysconfdir}/xdg/autostart/lxpolkit.desktop
59%{_libexecdir}/%{name}
60%{_datadir}/%{name}/
61
62
63%changelog
64* Sun Sep 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
65- initial build for Vine Linux
66
67* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-0.2.20100402git5087383
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
69
70* Fri Apr 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-0.1.20100402git5087383
71- Update to git version 5087383
72- Install binary to %%{_libexecdir}
73
74* Mon Mar 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-0.1.20100329git93555fa
75- Initial package
76
Note: See TracBrowser for help on using the repository browser.