Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > aeea6be11d37cb6fa47547de61457135 > files > 2

miniflux-1.0.2-6.mga6.src.rpm

%global __requires_exclude ^pear\\(.*\\)

Name:		miniflux
Version:	1.0.2
Release:	%mkrel 6
Summary:	Minimalist web based news reader
License:	GPL
Group:		System/Servers
URL:		http://miniflux.net/
Source0:	http://miniflux.net/miniflux-%{version}.zip
Requires:	apache-mod_php
Requires:	php-pdo_sqlite
BuildArch:	noarch

%description
Miniflux is a minimalist web based news reader. I developed my own RSS reader
for my own usage and now I share it to everybody as a free software.

%prep
%setup -q -n %{name}

%build

%install
install -d -m 755 %{buildroot}%{_datadir}/%{name}
cp -pr *  %{buildroot}%{_datadir}/%{name}

rm -f %{buildroot}%{_datadir}/%{name}/LICENSE
rm -rf %{buildroot}%{_datadir}/%{name}/data

install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}

pushd %{buildroot}%{_datadir}/%{name}
ln -s ../../..%{_localstatedir}/lib/%{name} data
popd

# apache configuration
install -d -m 755 %{buildroot}%{_webappconfdir}
cat > %{buildroot}%{_webappconfdir}/%{name}.conf <<EOF
# %{name} Apache configuration file
Alias /%{name} %{_datadir}/%{name}

<Directory %{_datadir}/%{name}>
    Require all granted
</Directory>
EOF

%files
%doc LICENSE
%{_datadir}/%{name}
%attr(-,apache,apache) %{_localstatedir}/lib/%{name}
%config(noreplace) %{_webappconfdir}/%{name}.conf


%changelog
* Sat Feb 06 2016 umeabot <umeabot> 1.0.2-6.mga6
+ Revision: 940200
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.0.2-5.mga5
+ Revision: 743200
- Second Mageia 5 Mass Rebuild

* Fri Sep 26 2014 guillomovitch <guillomovitch> 1.0.2-4.mga5
+ Revision: 724985
- fix automatic dependencies

* Tue Sep 16 2014 umeabot <umeabot> 1.0.2-3.mga5
+ Revision: 682522
- Mageia 5 Mass Rebuild

  + tv <tv>
    - use %%global for req/prov exclude
    - autoconvert to new prov/req excludes

* Sat Oct 19 2013 umeabot <umeabot> 1.0.2-2.mga4
+ Revision: 522599
- Mageia 4 Mass Rebuild

* Fri Mar 22 2013 guillomovitch <guillomovitch> 1.0.2-1.mga3
+ Revision: 404497
- imported package miniflux