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

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