source: projects/specs/trunk/n/ntfs-3g/ntfs-3g-vl.spec @ 2782

Revision 2782, 5.7 KB checked in by Takemikaduchi, 13 years ago (diff)

ntfs-3g: new upstream release, dbusmenu: add BR: gtk2-devel, libxml2-devel

Line 
1Summary:        Linux NTFS userspace driver
2Summary(ja):    Linux NTFS ユーザ空間ドライバ
3Name:           ntfs-3g
4Version:        2011.1.15
5Release:        1%{?_dist_release}
6License:        GPL
7Group:          System Environment/Base
8Source0:        http://www.ntfs-3g.org/%{name}-%{version}.tgz
9Source1:        20-ntfs-config-write-policy.fdi
10URL:            http://www.ntfs-3g.org/
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13%description
14The ntfs-3g driver is an open source, GPL licensed, third generation
15Linux NTFS driver. It provides full read-write access to NTFS, excluding
16access to encrypted files, writing compressed files, changing file
17ownership, access right.
18
19Technically it's based on and a major improvement to the third
20generation Linux NTFS driver, ntfsmount. The improvements include
21functionality, quality and performance enhancements.
22
23ntfs-3g features are being merged to ntfsmount. In the meanwhile,
24ntfs-3g is currently the only free, as in either speech or beer, NTFS
25driver for Linux that supports unlimited file creation and deletion.
26
27%package devel
28Summary:        Development files and libraries for ntfs-3g
29Summary(ja):    ntfs-3g の開発ファイルとライブラリ
30Group:          Development/Libraries
31Requires:       %{name} = %{version}-%{release}
32
33%description devel
34Headers and libraries for developing applications that use ntfs-3g
35functionality.
36
37%prep
38%setup -q
39
40%build
41%configure --disable-static --disable-ldconfig \
42           --exec-prefix=/ \
43           --bindir=/bin \
44           --sbindir=/sbin \
45           --libdir=/%{_lib}
46make %{?_smp_mflags}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50mkdir -p $RPM_BUILD_ROOT/sbin
51make DESTDIR=$RPM_BUILD_ROOT install
52rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
53
54# make the symlink an actual copy to avoid confusion
55rm -rf $RPM_BUILD_ROOT/sbin/mount.ntfs-3g
56cp -a $RPM_BUILD_ROOT/bin/ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-3g
57
58# make compatibility symlinks
59ln -s ntfs-3g $RPM_BUILD_ROOT/bin/ntfsmount
60ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs-fuse
61ln -s mount.ntfs-3g $RPM_BUILD_ROOT/sbin/mount.ntfs
62mkdir -p $RPM_BUILD_ROOT%{_bindir}
63ln -s /bin/ntfs-3g $RPM_BUILD_ROOT%{_bindir}/ntfs-3g
64ln -s /bin/ntfsmount $RPM_BUILD_ROOT%{_bindir}/ntfsmount
65
66# Put the .pc file in the right place.
67mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
68mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig/libntfs-3g.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
69
70mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
71cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/10osvendor/
72
73rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
74rm -f $RPM_BUILD_ROOT/%{_lib}/libntfs-3g.la
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(-,root,root,-)
85%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
86/sbin/mount.lowntfs-3g
87/sbin/mount.ntfs
88%attr(4754,root,root) /sbin/mount.ntfs-3g
89/sbin/mount.ntfs-fuse
90/bin/lowntfs-3g
91/bin/ntfs-3g
92/bin/ntfs-3g.probe
93/bin/ntfs-3g.secaudit
94/bin/ntfs-3g.usermap
95/bin/ntfsmount
96%{_bindir}/ntfs-3g
97%{_bindir}/ntfsmount
98/%{_lib}/libntfs-3g.so.*
99%{_datadir}/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi
100%{_mandir}/man8/*
101
102
103%files devel
104%defattr(-,root,root,-)
105%{_includedir}/ntfs-3g/
106/%{_lib}/libntfs-3g.so
107%{_libdir}/pkgconfig/*.pc
108
109%changelog
110* Sat Feb 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2011.1.15-1
111- new upstream release
112- fix %%files (add lowntfs-3g)
113
114* Mon Jun 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.4.4-1
115- new upstream release
116- use internal fuse-lite, remove BR: fuse-devel and R: fuse
117- move binaries to /bin
118- move libraries to /%%{_lib}
119- add fdi file to enable hal automounting
120
121* Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009.1.1-1
122- new upstream release
123
124* Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2812-1
125- new upstream release
126
127* Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2712-1
128- new upstream release
129
130* Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2412-1
131- new upstream release
132
133* Tue Jun 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.516-0vl1
134- initial build for Vine Linux
135
136* Tue May 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.516-1
137- bump to 1.516
138- fix bugzilla 232031
139
140* Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.417-1
141- bump to 1.417
142
143* Sun Apr 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.416-1
144- bump to 1.416
145- drop patch0, upstreamed
146
147* Wed Apr  4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-2
148- allow non-root users to mount/umount ntfs volumes (Laszlo Dvornik)
149
150* Sat Mar 31 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.328-1
151- bump to 1.328
152- drop patch, use --disable-ldconfig instead
153
154* Wed Feb 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:1.0-1
155- 1.0 release!
156
157* Fri Jan 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.9.20070118
158- symlink to mount.ntfs
159
160* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.8.20070118
161- bump to 20070118
162
163* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2:0-0.7.20070116
164- bump to latest version for all active dists
165
166* Wed Jan  3 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.6.20070102
167- bump to latest version (note that upstream fixed their date mistake)
168
169* Wed Nov  1 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.5.20070920
170- add an obsoletes for ntfsprogs-fuse
171- make some convenience symlinks
172
173* Wed Oct 25 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.4.20070920
174- add some extra Provides
175
176* Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.3.20070920
177- add explicit Requires on fuse
178
179* Mon Oct 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1:0-0.2.20070920
180- fixed versioning (bumped epoch, since it now shows as older)
181- change sbin symlink to actual copy to be safe
182
183* Sun Oct 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.20070920-1
184- Initial package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.