1 | %define nm_version 0.9.8.2 |
---|
2 | %define dbus_version 1.4.14 |
---|
3 | %define gtk3_version 3.0.0 |
---|
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.9.8.2 |
---|
13 | Release: 2%{?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.xz |
---|
24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
25 | BuildRequires: gtk3-devel >= %{gtk3_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: libgnomeui-devel |
---|
31 | BuildRequires: gcr-devel |
---|
32 | BuildRequires: libglade2-devel |
---|
33 | BuildRequires: libpng-devel |
---|
34 | BuildRequires: perl-XML-Parser |
---|
35 | BuildRequires: libtool intltool gettext |
---|
36 | BuildRequires: perl |
---|
37 | BuildRequires: gnome-common |
---|
38 | Requires(post): %{_bindir}/update-desktop-database |
---|
39 | Requires(postun): %{_bindir}/update-desktop-database |
---|
40 | Requires(post): /sbin/ldconfig |
---|
41 | Requires(postun): /sbin/ldconfig |
---|
42 | Requires: gtk3 >= %{gtk3_version} |
---|
43 | Requires: dbus >= %{dbus_version} |
---|
44 | Requires: NetworkManager >= %{nm_version} |
---|
45 | Requires: openvpn >= %{openvpn_version} |
---|
46 | Requires: shared-mime-info >= %{shared_mime_version} |
---|
47 | Requires: gcr |
---|
48 | |
---|
49 | Vendor: Project Vine |
---|
50 | Distribution: Vine Linux |
---|
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 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2 |
---|
119 | - rebuild with VineSeed environment |
---|
120 | |
---|
121 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.0-1 |
---|
125 | - new upstream release |
---|
126 | - change BuildRequires: gcr-devel instead of gnome-keyring-devel |
---|
127 | |
---|
128 | * Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.9997-1 |
---|
135 | - new upstream release |
---|
136 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
137 | |
---|
138 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Sat Mar 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0.99-1 |
---|
151 | - new upstream release in sync with NetworkManager-0.7.0.99 |
---|
152 | |
---|
153 | * Wed Jan 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.0-1.svn14 |
---|
154 | - updated to new upstream tree, svn snapshot r14 |
---|
155 | (svn://svn.gnome.org/svn/network-manager-openvpn) |
---|
156 | - rebuilt with updated NetworkManager (0.7.0-1.git20090102) |
---|
157 | - add Japanese summary and description |
---|
158 | |
---|
159 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.2.svn4027 |
---|
160 | - update to new svn snapshot (r4027) |
---|
161 | |
---|
162 | * Mon Aug 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0.1.svn3918 |
---|
163 | - initial build for Vine Linux |
---|
164 | |
---|
165 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-15.svn3846 |
---|
166 | - Rebuild to sync with F9 release number |
---|
167 | |
---|
168 | * Thu Jul 24 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3846 |
---|
169 | - Fix TLS Authentication direction combo |
---|
170 | - Only update settings if the advanced dialog's OK button is pressed |
---|
171 | |
---|
172 | * Fri Jul 18 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3832 |
---|
173 | - Update for NM netmask -> prefix changes |
---|
174 | |
---|
175 | * Wed Jul 02 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn3801 |
---|
176 | - Update for moving VPN editing into connection manager |
---|
177 | - Import OpenVPN configuration files rather than old custom format |
---|
178 | |
---|
179 | * Mon May 05 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3632 |
---|
180 | - Fix issue with location of the VPN plugin |
---|
181 | |
---|
182 | * Thu May 01 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn3627 |
---|
183 | - Update for compat with new NM bits |
---|
184 | |
---|
185 | * Wed Apr 23 2008 Christoph Höger <choeger@cs.tu-berlin.de> 1:0.7.0-10.svn3549 |
---|
186 | - (Hopefully) Fix generation of nm-openvpn-service.name (#443389) |
---|
187 | |
---|
188 | * Wed Apr 09 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-9.svn3549 |
---|
189 | - Update for compat with new NM bits |
---|
190 | |
---|
191 | * Mon Mar 03 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-9.svn3302 |
---|
192 | - Mute %post and %postun scripts |
---|
193 | |
---|
194 | * Fri Feb 08 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-8.svn3302 |
---|
195 | - Update to latest SVN snapshot |
---|
196 | - Fixes rhbz#429816 (port was not saved correctly) |
---|
197 | - Respects DNS search string from OpenVPN server |
---|
198 | |
---|
199 | * Fri Jan 18 2008 Tim Niemueller <tim@niemueller.de> 1:0.7.0-7.svn3169 |
---|
200 | - Use install -p during "make install" to fix #342701 |
---|
201 | |
---|
202 | * Thu Dec 13 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-6.svn3169 |
---|
203 | - Update to latest SVN snapshot |
---|
204 | |
---|
205 | * Thu Dec 6 2007 Dan Williams <dcbw@redhat.com> 1:0.7.0-5.svn3140 |
---|
206 | - Update to latest SVN snapshot to get stuff working |
---|
207 | |
---|
208 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-4.svn3047 |
---|
209 | - BuildRequire libtool and glib2-devel since we call autogen.sh now |
---|
210 | |
---|
211 | * Fri Nov 23 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-3.svn3047 |
---|
212 | - Fixed #320941 |
---|
213 | - Call autogen, therefore BuildRequire gnome-common |
---|
214 | - Use plain 3047 from repo and use a patch, we cannot use trunk at the |
---|
215 | moment since it is in flux and incompatible with NM available for F8 |
---|
216 | |
---|
217 | * Wed Oct 31 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-2.svn3047.fc8 |
---|
218 | - BuildRequire gettext |
---|
219 | |
---|
220 | * Tue Oct 30 2007 Tim Niemueller <tim@niemueller.de> 1:0.7.0-1.svn3047.fc8 |
---|
221 | - Upgrade to trunk, needed to be compatible with NM 0.7.0, rebuild for F-8 |
---|
222 | |
---|
223 | * Fri Sep 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-7 |
---|
224 | - Rebuild for FC6 |
---|
225 | |
---|
226 | * Sat Aug 19 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-5 |
---|
227 | - Added perl-XML-Parser as a build requirement, needed for intltool |
---|
228 | |
---|
229 | * Tue Aug 15 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-4 |
---|
230 | - Added instructions how to build the source package |
---|
231 | - removed a rm line |
---|
232 | |
---|
233 | * Wed Aug 09 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-3 |
---|
234 | - Added URL |
---|
235 | |
---|
236 | * Fri Aug 04 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-2 |
---|
237 | - Upgrade to current upstream version (0.3.2 on 0.6 branch) |
---|
238 | |
---|
239 | * Mon Jul 10 2006 Tim Niemueller <tim@niemueller.de> 0.3.2-1 |
---|
240 | - Upgraded to 0.3.2 for 0.6 branch |
---|
241 | |
---|
242 | * Tue Dec 06 2005 Tim Niemueller <tim@niemueller.de> 0.3-1 |
---|
243 | - Initial revision based on NetworkManager-vpnc spec |
---|
244 | |
---|