1 | %define nm_version 0.9.0 |
---|
2 | %define dbus_version 1.4.14 |
---|
3 | %define gtk3_version 3.0.0 |
---|
4 | %define ppp_version 2.4.5 |
---|
5 | %define shared_mime_version 0.16 |
---|
6 | |
---|
7 | #define svn_snapshot %{nil} |
---|
8 | |
---|
9 | Summary: NetworkManager VPN plugin for pptp |
---|
10 | Name: NetworkManager-pptp |
---|
11 | Version: 0.9.0 |
---|
12 | Release: 1%{?svn_snapshot}%{?_dist_release} |
---|
13 | License: GPLv2+ |
---|
14 | Group: System Environment/Base |
---|
15 | URL: http://www.gnome.org/projects/NetworkManager/ |
---|
16 | |
---|
17 | Source: %{name}-%{version}%{?svn_snapshot}.tar.xz |
---|
18 | |
---|
19 | Patch10: %{name}-0.7.1-dbus-permission.patch |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
24 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
25 | BuildRequires: NetworkManager-devel >= %{nm_version} |
---|
26 | BuildRequires: NetworkManager-glib-devel >= %{nm_version} |
---|
27 | BuildRequires: GConf2-devel |
---|
28 | BuildRequires: libgnome-keyring-devel |
---|
29 | BuildRequires: libglade2-devel |
---|
30 | BuildRequires: intltool gettext |
---|
31 | BuildRequires: ppp-devel >= %{ppp_version} |
---|
32 | |
---|
33 | Requires: gtk3 >= %{gtk3_version} |
---|
34 | Requires: dbus >= %{dbus_version} |
---|
35 | Requires: NetworkManager >= %{nm_version} |
---|
36 | Requires: ppp >= %{ppp_version} |
---|
37 | Requires: shared-mime-info >= %{shared_mime_version} |
---|
38 | Requires: pptp |
---|
39 | Requires: GConf2 |
---|
40 | Requires: libgnome-keyring |
---|
41 | Requires(post): /sbin/ldconfig desktop-file-utils |
---|
42 | Requires(postun): /sbin/ldconfig desktop-file-utils |
---|
43 | |
---|
44 | Vendor: Project Vine |
---|
45 | Distribution: Vine Linux |
---|
46 | Packager: daisuke |
---|
47 | |
---|
48 | %description |
---|
49 | This package contains software for integrating PPTP VPN support with |
---|
50 | the NetworkManager and the GNOME desktop. |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | %patch10 -p1 |
---|
55 | |
---|
56 | %build |
---|
57 | %configure \ |
---|
58 | --disable-static \ |
---|
59 | --enable-more-warnings=yes \ |
---|
60 | --with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}" |
---|
61 | make %{?_smp_mflags} |
---|
62 | |
---|
63 | %install |
---|
64 | |
---|
65 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
66 | |
---|
67 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la |
---|
68 | rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.a |
---|
69 | |
---|
70 | rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.la |
---|
71 | rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.a |
---|
72 | |
---|
73 | %find_lang %{name} |
---|
74 | |
---|
75 | |
---|
76 | %clean |
---|
77 | rm -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | |
---|
80 | %post |
---|
81 | /sbin/ldconfig |
---|
82 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
83 | touch --no-create %{_datadir}/icons/hicolor |
---|
84 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
85 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
86 | fi |
---|
87 | |
---|
88 | |
---|
89 | %postun |
---|
90 | /sbin/ldconfig |
---|
91 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
92 | touch --no-create %{_datadir}/icons/hicolor |
---|
93 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
94 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
95 | fi |
---|
96 | |
---|
97 | |
---|
98 | %files -f %{name}.lang |
---|
99 | %defattr(-, root, root) |
---|
100 | |
---|
101 | %doc AUTHORS ChangeLog |
---|
102 | %{_libdir}/NetworkManager/lib*.so* |
---|
103 | %{_libexecdir}/nm-pptp-auth-dialog |
---|
104 | %{_sysconfdir}/dbus-1/system.d/nm-pptp-service.conf |
---|
105 | %{_sysconfdir}/NetworkManager/VPN/nm-pptp-service.name |
---|
106 | %{_libexecdir}/nm-pptp-service |
---|
107 | %{_libdir}/pppd/%{ppp_version}/nm-pptp-pppd-plugin.so |
---|
108 | %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui |
---|
109 | #%{_datadir}/applications/nm-pptp.desktop |
---|
110 | #%{_datadir}/icons/hicolor/48x48/apps/gnome-mime-application-x-pptp-settings.png |
---|
111 | %dir %{_datadir}/gnome-vpn-properties/pptp |
---|
112 | |
---|
113 | %changelog |
---|
114 | * Tue Aug 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-1 |
---|
115 | - new upstream release |
---|
116 | - remove Patch0 |
---|
117 | |
---|
118 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.999-1 |
---|
119 | - new upstream release |
---|
120 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
121 | - add Patch0 (NetworkManager-pptp-0.8.999-gtk_box.patch) |
---|
122 | |
---|
123 | * Wed May 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
127 | - new upstream release |
---|
128 | - change BuildRequires: libgnome-keyring-devel instead of gnome-keyring-devel |
---|
129 | - change Requires: libgnome-keyring instead of gnome-keyring |
---|
130 | - add configure option: --with-pppd-plugin-dir="%%{_libdir}/pppd/%%{ppp_version}" |
---|
131 | |
---|
132 | * Mon May 10 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-2 |
---|
136 | - add Patch10 to fix dbus permission problem |
---|
137 | |
---|
138 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1 |
---|
139 | - initial build for Vine Linux |
---|
140 | |
---|
141 | * Thu Mar 5 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.99-1 |
---|
142 | - Update to 0.7.1rc3 |
---|
143 | |
---|
144 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.7.0.97-2 |
---|
145 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
146 | |
---|
147 | * Thu Feb 19 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0.97-1 |
---|
148 | - Update to 0.7.1rc1 |
---|
149 | - Set a reasonable MTU |
---|
150 | - Ensure 'noauth' is used |
---|
151 | - Fix domain-based logins |
---|
152 | - Fix saving MPPE values in connection editor |
---|
153 | |
---|
154 | * Sat Jan 3 2009 Dan Williams <dcbw@redhat.com> 1:0.7.0-1.svn16 |
---|
155 | - Rebuild for updated NetworkManager |
---|
156 | - Fix some specfile issues (rh #477153) |
---|
157 | - Allow the EAP authentication method |
---|
158 | |
---|
159 | * Fri Nov 21 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4326 |
---|
160 | - Rebuild for updated NetworkManager |
---|
161 | |
---|
162 | * Wed Oct 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-12.svn4229 |
---|
163 | - Fix hang in auth dialog (rh #467007) |
---|
164 | |
---|
165 | * Mon Oct 27 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4229 |
---|
166 | - Rebuild for updated NetworkManager |
---|
167 | - Ensure that certain PPP options are always overriden |
---|
168 | |
---|
169 | * Sun Oct 12 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-11.svn4178 |
---|
170 | - Rebuild for updated NetworkManager |
---|
171 | - Allow changing passwords from the connection editor |
---|
172 | |
---|
173 | * Sun Oct 05 2008 Lubomir Rintel <lkundrak@v3.sk> 1:0.7.0-11.svn4027 |
---|
174 | - Add pptp dependency (#465644) |
---|
175 | |
---|
176 | * Fri Aug 29 2008 Dan Williams <dcbw@redhat.com> 1:0.7.0-10.svn4027 |
---|
177 | - Resurrect from the dead |
---|
178 | |
---|
179 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-2 |
---|
180 | - Take Dan Horak's review into account (#443807): |
---|
181 | - Do not install versioned .so-s for properties module |
---|
182 | - Do not do useless ldconfigs |
---|
183 | - Remove leftover dependencies |
---|
184 | |
---|
185 | * Mon Apr 21 2008 Lubomir Kundrak <lkundrak@redhat.com> 0.6.4-1 |
---|
186 | - Branch this for EPEL, go back to: |
---|
187 | - 0.6.4 |
---|
188 | - NetworkManager-pptp from NetworkManager-ppp_vpn |
---|
189 | - Install pppd plugin correctly |
---|
190 | |
---|
191 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.3.svn3549 |
---|
192 | - Update against trunk |
---|
193 | |
---|
194 | * Wed Nov 21 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.2.svn3085 |
---|
195 | - Do not exclude .so for NM, and properly generate the .name file |
---|
196 | |
---|
197 | * Thu Nov 15 2007 Lubomir Kundrak <lkundrak@redhat.com> 0.7.0-0.1.svn3085 |
---|
198 | - Initial packaging attempt, inspired by NetworkManager-openvpn |
---|
199 | - Nearly completly rewritten spec, all bugs in it are solely my responsibility |
---|
200 | |
---|