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

Revision 9828, 5.6 KB checked in by Takemikaduchi, 5 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 openconnect_version 3.02
5
6%define svn_snapshot        %{nil}
7
8Summary:   NetworkManager VPN integration for openconnect
9Summary(ja): NetworkManager の openconnect 用 VPN 統合
10Name:      NetworkManager-openconnect
11Version:   1.0.8
12Release:   1%{svn_snapshot}%{?_dist_release}
13License:   GPLv2+
14Group:     System Environment/Base
15URL:       http://www.gnome.org/projects/NetworkManager/
16# Created from the git mirror of GNOME SVN:
17# git-clone git://git.infradead.org/network-manager-openconnect.git
18# cd network-manager-openconnect
19# git-archive --format=tar --prefix=NetworkManager-openconnect-0.7.0/ b94964eb \
20#                 | gzip -9 > NetworkManager-openconnect-0.7.0.svn14.tar.gz
21Source:    %{name}-%{version}%{svn_snapshot}.tar.xz
22
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24
25BuildRequires: autoconf
26BuildRequires: gtk3-devel             >= %{gtk3_version}
27BuildRequires: dbus-devel             >= %{dbus_version}
28BuildRequires: NetworkManager-devel   >= %{nm_version}
29BuildRequires: NetworkManager-glib-devel >= %{nm_version}
30BuildRequires: GConf2-devel
31BuildRequires: libgnome-keyring-devel
32BuildRequires: libglade2-devel
33BuildRequires: intltool gettext
34BuildRequires: gnome-common
35BuildRequires: autoconf automake libtool
36BuildRequires: openconnect-devel      >= %{openconnect_version}
37BuildRequires: libsecret-devel
38
39Requires: NetworkManager   >= %{nm_version}
40Requires: openconnect      >= %{openconnect_version}
41
42Requires(post):   /sbin/ldconfig
43Requires(postun): /sbin/ldconfig
44Requires(pre): %{_sbindir}/useradd
45Requires(pre): %{_sbindir}/groupadd
46
47Vendor: Project Vine
48Distribution: Vine Linux
49Packager: daisuke
50
51
52%description
53This package contains software for integrating the openconnect VPN software
54with NetworkManager and the GNOME desktop
55
56%prep
57%setup -q
58
59%build
60autoreconf -if
61%configure --enable-more-warnings=yes
62make %{?_smp_mflags}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66make install DESTDIR=$RPM_BUILD_ROOT
67
68rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
69rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a
70
71%find_lang %{name}
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%pre
77%{_sbindir}/groupadd -r nm-openconnect &>/dev/null || :
78%{_sbindir}/useradd  -r -s /sbin/nologin -d / -M \
79                     -c 'NetworkManager user for OpenConnect' \
80                     -g nm-openconnect nm-openconnect &>/dev/null || :
81
82%post
83/sbin/ldconfig
84/usr/bin/update-desktop-database &> /dev/null || :
85touch --no-create %{_datadir}/icons/hicolor
86if [ -x %{_bindir}/gtk-update-icon-cache ]; then
87      %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
88fi
89
90
91%postun
92/sbin/ldconfig
93/usr/bin/update-desktop-database &> /dev/null || :
94touch --no-create %{_datadir}/icons/hicolor
95if [ -x %{_bindir}/gtk-update-icon-cache ]; then
96      %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
97fi
98
99
100%files -f %{name}.lang
101%defattr(-, root, root)
102
103%doc AUTHORS ChangeLog COPYING
104%{_libdir}/NetworkManager/lib*.so*
105%{_sysconfdir}/dbus-1/system.d/nm-openconnect-service.conf
106%{_sysconfdir}/NetworkManager/VPN/nm-openconnect-service.name
107%{_libexecdir}/nm-openconnect-auth-dialog
108%{_libexecdir}/nm-openconnect-service
109%{_libexecdir}/nm-openconnect-service-openconnect-helper
110%dir %{_datadir}/gnome-vpn-properties/openconnect
111%{_datadir}/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui
112
113%changelog
114* Wed Nov 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
115- new upstream release
116
117* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.10.2-1
118- new upstream release
119- add BuildRequires: libsecret-devel
120
121* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-2
122- rebuild with VineSeed environment
123
124* Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8.2-1
125- new upstream release
126
127* Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6.2-1
128- new upstream release
129
130* Wed Nov 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2.0-1
131- new upstream release
132
133* Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1
134- new upstream release
135
136* Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1
137- new upstream release
138- change BuildRequires: gtk3-devel instead of gtk2-devel
139
140* Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
141- new upstream release
142- add BuildRequires: openconnect-devel
143
144* Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1
145- new upstream release
146- change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel
147
148* Tue May 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1
149- new upstream release
150
151* Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
152- initial build for Vine Linux
153
154* Wed Apr  1 2009 David Woodhouse <David.Woodhouse@intel.com> 1:0.7.0.99-2
155- Update translations from SVN
156- Accept 'lasthost' and 'autoconnect' keys in gconf
157
158* Thu Mar  5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1
159- Update to 0.7.1rc3
160
161* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0.97-2
162- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
163
164* Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 0.7.0.97-1
165- Update to 0.7.1rc1
166
167* Mon Jan  5 2009 David Woodhouse <David.woodhouse@intel.com> 0.7.0-4.svn14
168- Rebuild for updated NetworkManager
169- Update translations from GNOME SVN
170
171* Sun Dec 21 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-3.svn9
172- Update from GNOME SVN (translations, review feedback merged)
173
174* Wed Dec 17 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-2.svn3
175- Review feedback
176
177* Tue Dec 16 2008 David Woodhouse <David.Woodhouse@intel.com> 0.7.0-1.svn3
178- Change version numbering to match NetworkManager
Note: See TracBrowser for help on using the repository browser.