source: projects/specs/trunk/N/NetworkManager-openvpn/NetworkManager-openvpn-vl.spec @ 9828

Revision 9828, 8.4 KB checked in by Takemikaduchi, 6 years ago (diff)

new upstream release

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