1 | %define nm_version 0.8.4.0-1 |
---|
2 | %define dbus_version 1.4 |
---|
3 | %define gtk2_version 2.22.1 |
---|
4 | %define openvpn_version 2.1 |
---|
5 | %define shared_mime_version 0.16-3 |
---|
6 | |
---|
7 | %define svn_snapshot %{nil} |
---|
8 | |
---|
9 | Summary: NetworkManager VPN plugin for OpenVPN |
---|
10 | Summary(ja): OpenVPN を使った NetworkManager 用 VPN プラグイン |
---|
11 | Name: NetworkManager-openvpn |
---|
12 | Version: 0.8.4 |
---|
13 | Release: 1%{?svn_snapshot}%{?_dist_release} |
---|
14 | License: GPLv2+ |
---|
15 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
16 | Group: System Environment/Base |
---|
17 | # How to build the source package: |
---|
18 | # - Check out NetworkManager from Gnome SVN, currently trunk is used |
---|
19 | # - cd NetworkManager/vpn-daemons/openvpn |
---|
20 | # - ./autogen.sh --prefix=/usr --sysconfdir=/etc |
---|
21 | # - make distcheck |
---|
22 | # - use generated NetworkManager-openvpn-0.7.0.tar.gz |
---|
23 | Source: %{name}-%{version}%{?svn_snapshot}.tar.bz2 |
---|
24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
25 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
26 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
27 | BuildRequires: NetworkManager-devel >= %{nm_version} |
---|
28 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
---|
29 | BuildRequires: glib2-devel |
---|
30 | BuildRequires: GConf2-devel |
---|
31 | BuildRequires: libgnomeui-devel |
---|
32 | BuildRequires: gnome-keyring-devel |
---|
33 | BuildRequires: libglade2-devel |
---|
34 | BuildRequires: libpng-devel |
---|
35 | BuildRequires: perl-XML-Parser |
---|
36 | BuildRequires: libtool intltool gettext |
---|
37 | BuildRequires: perl |
---|
38 | BuildRequires: gnome-common |
---|
39 | Requires(post): %{_bindir}/update-desktop-database |
---|
40 | Requires(postun): %{_bindir}/update-desktop-database |
---|
41 | Requires(post): /sbin/ldconfig |
---|
42 | Requires(postun): /sbin/ldconfig |
---|
43 | Requires: gtk2 >= %{gtk2_version} |
---|
44 | Requires: dbus >= %{dbus_version} |
---|
45 | Requires: NetworkManager >= %{nm_version} |
---|
46 | Requires: openvpn >= %{openvpn_version} |
---|
47 | Requires: shared-mime-info >= %{shared_mime_version} |
---|
48 | Requires: GConf2 |
---|
49 | Requires: gnome-keyring |
---|
50 | |
---|
51 | |
---|
52 | %description |
---|
53 | This package contains software for integrating the OpenVPN VPN software |
---|
54 | with NetworkManager and the GNOME desktop. |
---|
55 | |
---|
56 | %description -l ja |
---|
57 | 本パッケージに収録されているソフトウェアにより、OpenVPN を |
---|
58 | NetworkManager と GNOME デスクトップに統合させることができます。 |
---|
59 | |
---|
60 | |
---|
61 | %prep |
---|
62 | %setup -q -n %{name}-%{version} |
---|
63 | |
---|
64 | |
---|
65 | %build |
---|
66 | if [ ! -f configure ]; then |
---|
67 | ./autogen.sh |
---|
68 | fi |
---|
69 | %configure --disable-static --disable-dependency-tracking \ |
---|
70 | --enable-more-warnings=yes |
---|
71 | make %{?_smp_mflags} |
---|
72 | |
---|
73 | |
---|
74 | %install |
---|
75 | rm -rf %{buildroot} |
---|
76 | make install DESTDIR=%{buildroot} INSTALL="%{__install} -p" |
---|
77 | |
---|
78 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la |
---|
79 | |
---|
80 | %find_lang %{name} |
---|
81 | |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf %{buildroot} |
---|
85 | |
---|
86 | |
---|
87 | %post |
---|
88 | /sbin/ldconfig |
---|
89 | /usr/bin/update-desktop-database > /dev/null |
---|
90 | touch --no-create %{_datadir}/icons/hicolor |
---|
91 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
92 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
93 | fi |
---|
94 | |
---|
95 | %postun |
---|
96 | /sbin/ldconfig |
---|
97 | /usr/bin/update-desktop-database > /dev/null |
---|
98 | touch --no-create %{_datadir}/icons/hicolor |
---|
99 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
100 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
101 | fi |
---|
102 | |
---|
103 | %files -f %{name}.lang |
---|
104 | %defattr(-, root, root) |
---|
105 | |
---|
106 | %doc AUTHORS ChangeLog README |
---|
107 | %{_libdir}/NetworkManager/lib*.so* |
---|
108 | %{_libexecdir}/nm-openvpn-auth-dialog |
---|
109 | %{_sysconfdir}/dbus-1/system.d/nm-openvpn-service.conf |
---|
110 | %{_sysconfdir}/NetworkManager/VPN/nm-openvpn-service.name |
---|
111 | %{_libexecdir}/nm-openvpn-service |
---|
112 | %{_libexecdir}/nm-openvpn-service-openvpn-helper |
---|
113 | %{_datadir}/gnome-vpn-properties/openvpn/nm-openvpn-dialog.ui |
---|
114 | %dir %{_datadir}/gnome-vpn-properties/openvpn |
---|
115 | |
---|
116 | |
---|
117 | %changelog |
---|
118 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Sat Mar 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0.99-1 |
---|
131 | - new upstream release in sync with NetworkManager-0.7.0.99 |
---|
132 | |
---|
133 | * Wed Jan 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0-1.svn14 |
---|
134 | - updated to new upstream tree, svn snapshot r14 |
---|
135 | (svn://svn.gnome.org/svn/network-manager-openvpn) |
---|
136 | - rebuilt with updated NetworkManager (0.7.0-1.git20090102) |
---|
137 | - add Japanese summary and description |
---|
138 | |
---|
139 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.2.svn4027 |
---|
140 | - update to new svn snapshot (r4027) |
---|
141 | |
---|
142 | * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.1.svn3918 |
---|
143 | - initial build for Vine Linux |
---|
144 | |
---|
145 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn3846 |
---|
146 | - Rebuild to sync with F9 release number |
---|
147 | |
---|
148 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3846 |
---|
149 | - Fix TLS Authentication direction combo |
---|
150 | - Only update settings if the advanced dialog's OK button is pressed |
---|
151 | |
---|
152 | * Fri Jul 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3832 |
---|
153 | - Update for NM netmask -> prefix changes |
---|
154 | |
---|
155 | * Wed Jul 02 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3801 |
---|
156 | - Update for moving VPN editing into connection manager |
---|
157 | - Import OpenVPN configuration files rather than old custom format |
---|
158 | |
---|
159 | * Mon May 05 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3632 |
---|
160 | - Fix issue with location of the VPN plugin |
---|
161 | |
---|
162 | * Thu May 01 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3627 |
---|
163 | - Update for compat with new NM bits |
---|
164 | |
---|
165 | * Wed Apr 23 2008 Christoph Höger <choeger@cs.tu-berlin.de> 1:0.7.0-10.svn3549 |
---|
166 | - (Hopefully) Fix generation of nm-openvpn-service.name (#443389) |
---|
167 | |
---|
168 | * Wed Apr 09 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-9.svn3549 |
---|
169 | - Update for compat with new NM bits |
---|
170 | |
---|
171 | * Mon Mar 03 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-9.svn3302 |
---|
172 | - Mute %post and %postun scripts |
---|
173 | |
---|
174 | * Fri Feb 08 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-8.svn3302 |
---|
175 | - Update to latest SVN snapshot |
---|
176 | - Fixes rhbz#429816 (port was not saved correctly) |
---|
177 | - Respects DNS search string from OpenVPN server |
---|
178 | |
---|
179 | * Fri Jan 18 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-7.svn3169 |
---|
180 | - Use install -p during "make install" to fix #342701 |
---|
181 | |
---|
182 | * Thu Dec 13 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-6.svn3169 |
---|
183 | - Update to latest SVN snapshot |
---|
184 | |
---|
185 | * Thu Dec 6 2007 Dan Williams <dcbw@redhat.com> 1:0.7.0-5.svn3140 |
---|
186 | - Update to latest SVN snapshot to get stuff working |
---|
187 | |
---|
188 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-4.svn3047 |
---|
189 | - BuildRequire libtool and glib2-devel since we call autogen.sh now |
---|
190 | |
---|
191 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-3.svn3047 |
---|
192 | - Fixed #320941 |
---|
193 | - Call autogen, therefore BuildRequire gnome-common |
---|
194 | - Use plain 3047 from repo and use a patch, we cannot use trunk at the |
---|
195 | moment since it is in flux and incompatible with NM available for F8 |
---|
196 | |
---|
197 | * Wed Oct 31 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-2.svn3047.fc8 |
---|
198 | - BuildRequire gettext |
---|
199 | |
---|
200 | * Tue Oct 30 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-1.svn3047.fc8 |
---|
201 | - Upgrade to trunk, needed to be compatible with NM 0.7.0, rebuild for F-8 |
---|
202 | |
---|
203 | * Fri Sep 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-7 |
---|
204 | - Rebuild for FC6 |
---|
205 | |
---|
206 | * Sat Aug 19 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-5 |
---|
207 | - Added perl-XML-Parser as a build requirement, needed for intltool |
---|
208 | |
---|
209 | * Tue Aug 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-4 |
---|
210 | - Added instructions how to build the source package |
---|
211 | - removed a rm line |
---|
212 | |
---|
213 | * Wed Aug 09 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-3 |
---|
214 | - Added URL |
---|
215 | |
---|
216 | * Fri Aug 04 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-2 |
---|
217 | - Upgrade to current upstream version (0.3.2 on 0.6 branch) |
---|
218 | |
---|
219 | * Mon Jul 10 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-1 |
---|
220 | - Upgraded to 0.3.2 for 0.6 branch |
---|
221 | |
---|
222 | * Tue Dec 06 2005 Tim Niemueller <tim@niemueller.de> 0.3-1 |
---|
223 | - Initial revision based on NetworkManager-vpnc spec |
---|
224 | |
---|