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