|
1 | 1 |
|
2 | 2 | Name: xrootd-cmstfc
|
3 |
| -Version: 1.4.3 |
| 3 | +Version: 1.5 |
4 | 4 | Release: 1
|
5 | 5 | Summary: CMS TFC plugin for xrootd
|
6 | 6 |
|
7 | 7 | Group: System Environment/Daemons
|
8 | 8 | License: BSD
|
9 |
| -URL: svn://t2.unl.edu/brian/XrdCmsTfc |
10 |
| -Source0: %{name}-%{version}.tar.gz |
| 9 | +URL: https://github.com/bbockelm/xrootd-cmstfc |
| 10 | +# Generated from: |
| 11 | +# git-archive master | gzip -7 > ~/rpmbuild/SOURCES/xrootd-lcmaps.tar.gz |
| 12 | +Source0: %{name}.tar.gz |
11 | 13 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
12 |
| -BuildRequires: xrootd-devel xerces-c-devel pcre-devel |
| 14 | +BuildRequires: xrootd-libs-devel xerces-c-devel pcre-devel |
13 | 15 | Requires: /usr/bin/xrootd pcre xerces-c
|
14 | 16 |
|
| 17 | +%package devel |
| 18 | +Summary: Development headers and libraries for Xrootd CMSTFC plugin |
| 19 | +Group: System Environment/Development |
| 20 | + |
15 | 21 | %description
|
16 | 22 | %{summary}
|
17 | 23 |
|
| 24 | +%description devel |
| 25 | +%{summary} |
| 26 | + |
18 | 27 | %prep
|
19 |
| -%setup -q |
| 28 | +%setup -q -c -n %{name}-%{version} |
20 | 29 |
|
21 | 30 | %build
|
22 |
| -%configure --with-xrootd-incdir=/usr/include/xrootd |
23 |
| -make |
| 31 | +%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . |
| 32 | +make VERBOSE=1 %{?_smp_mflags} |
24 | 33 |
|
25 | 34 | %install
|
26 | 35 | rm -rf $RPM_BUILD_ROOT
|
27 |
| -%makeinstall |
| 36 | +make install DESTDIR=$RPM_BUILD_ROOT |
28 | 37 |
|
29 | 38 | %clean
|
30 | 39 | rm -rf $RPM_BUILD_ROOT
|
31 | 40 |
|
32 | 41 | %files
|
33 | 42 | %defattr(-,root,root,-)
|
34 |
| -%{_libdir}/libXrdCmsTfc* |
35 |
| -%{_includedir}/xrootd/XrdCmsTfc/XrdCmsTfc.hh |
| 43 | +%{_libdir}/libXrdCmsTfc.so.* |
| 44 | + |
| 45 | +%files devel |
| 46 | +%defattr(-,root,root,-) |
| 47 | +%{_libdir}/libXrdCmsTfc.so |
| 48 | +%{_includedir}/XrdCmsTfc.hh |
36 | 49 |
|
37 | 50 | %changelog
|
| 51 | +* Mon Oct 22 2012 Brian Bockelman <[email protected]> - 1.5-1 |
| 52 | +- Switch to cmake. |
| 53 | +- Rebuild against Xrootd 3.3. |
| 54 | + |
38 | 55 | * Wed May 18 2011 Brian Bockelman <[email protected]> 1.4.3-1
|
39 | 56 | - Apply path matching only at the beginning of the path.
|
40 | 57 |
|
|
0 commit comments